blob: be432f6d6bec5504c464524fb4a26c5131bf3467 (
plain)
1 # Description: JSON::XS - JSON serialising/deserialising, done correctly and fast
2 # URL: https://metacpan.org/changes/distribution/JSON-XS
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-common-sense p5-types-serialiser p5-canary-stability
5
6 name=p5-json-xs
7 version=4.02
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-$version.tar.gz)
10
11 build() {
12 cd JSON-XS-$version
13 PERL_CANARY_STABILITY_NOPROMPT=1 \
14 perl Makefile.PL INSTALLDIRS=vendor
15 make
16 make DESTDIR="$PKG" install
17 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
18 }
|