diff options
Diffstat (limited to 'repo/perl-json')
-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 +} + |