diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/perl-json/perl-json.xibuild | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/perl-json/perl-json.xibuild')
-rw-r--r-- | repo/perl-json/perl-json.xibuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/perl-json/perl-json.xibuild b/repo/perl-json/perl-json.xibuild new file mode 100644 index 0000000..6791825 --- /dev/null +++ b/repo/perl-json/perl-json.xibuild @@ -0,0 +1,25 @@ +#!/bin/sh + +NAME="perl-json" +DESC="Perl module implementing a JSON encoder/decoder" + +MAKEDEPS="" + +PKG_VER=4.05 +SOURCE="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-$PKG_VER.tar.gz" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$PKG_DEST" install + find "$PKG_DEST" -name perllocal.pod -delete + find "$PKG_DEST" -name .packlist -delete +} + |