wok annotate perl-json/receipt @ rev 23719
updated unionfs-fuse (2.0 -> 2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 29 07:50:26 2020 +0100 (2020-04-29) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
rev | line source |
---|---|
nneul@17850 | 1 # SliTaz package receipt. |
nneul@17850 | 2 |
nneul@17850 | 3 PACKAGE="perl-json" |
Hans-G?nter@23357 | 4 VERSION="4.02" |
nneul@17850 | 5 CATEGORY="development" |
Hans-G?nter@23357 | 6 SHORT_DESC="Perl Module JSON." |
nneul@17850 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17850 | 8 LICENSE="Artistic" |
Hans-G?nter@23357 | 9 WEB_SITE="https://metacpan.org/release/JSON/" |
Hans-G?nter@23357 | 10 |
Hans-G?nter@23357 | 11 SOURCE="JSON" |
Hans-G?nter@23357 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23357 | 13 WGET_URL="https://www.cpan.org/modules/by-module/JSON/$TARBALL" |
Hans-G?nter@23357 | 14 |
nneul@17850 | 15 DEPENDS="perl" |
nneul@17850 | 16 BUILD_DEPENDS="perl" |
nneul@17850 | 17 |
nneul@17850 | 18 # Rules to configure and make the package. |
nneul@17850 | 19 compile_rules() |
nneul@17850 | 20 { |
nneul@17850 | 21 perl Makefile.PL && |
nneul@17850 | 22 make && |
nneul@17850 | 23 make DESTDIR=$DESTDIR install |
nneul@17850 | 24 } |
nneul@17850 | 25 |
nneul@17850 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17850 | 27 genpkg_rules() |
nneul@17850 | 28 { |
nneul@17850 | 29 mkdir -p $fs/usr |
Hans-G?nter@23357 | 30 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23357 | 31 |
nneul@17850 | 32 # remove perllocal.pod and .packlist |
Hans-G?nter@23357 | 33 find $fs -name perllocal.pod -delete |
Hans-G?nter@23357 | 34 find $fs -name .packlist -delete |
nneul@17850 | 35 } |