wok-current annotate perl-json/receipt @ rev 21900

updated serd and serd-dev (0.18.0 -> 0.30.0)
author Hans-G?nter Theisgen
date Thu Oct 03 20:51:42 2019 +0100 (2019-10-03)
parents b295d522518c
children 8571f21915d4
rev   line source
nneul@17850 1 # SliTaz package receipt.
nneul@17850 2
nneul@17850 3 PACKAGE="perl-json"
nneul@17850 4 VERSION="2.90"
nneul@17850 5 CATEGORY="development"
nneul@17850 6 SHORT_DESC="Perl/CPAN Module JSON"
nneul@17850 7 MAINTAINER="nneul@neulinger.org"
nneul@17850 8 LICENSE="Artistic"
nneul@17850 9 DEPENDS="perl"
nneul@17850 10 BUILD_DEPENDS="perl"
nneul@17850 11 SOURCE="JSON"
nneul@17850 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 13 WEB_SITE="https://metacpan.org/release/JSON/"
nneul@17850 14 WGET_URL="http://www.cpan.org/authors/id/M/MA/MAKAMAKA/$TARBALL"
nneul@17850 15
nneul@17850 16 # Rules to configure and make the package.
nneul@17850 17 compile_rules()
nneul@17850 18 {
nneul@17850 19 cd $src
nneul@17850 20 perl Makefile.PL &&
nneul@17850 21 make &&
nneul@17850 22 make DESTDIR=$DESTDIR install
nneul@17850 23 }
nneul@17850 24
nneul@17850 25 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@17850 26 genpkg_rules()
nneul@17850 27 {
nneul@17850 28 mkdir -p $fs/usr
nneul@17850 29 cp -a $install/usr/lib $fs/usr
nneul@17850 30 # remove perllocal.pod and .packlist
nneul@17850 31 find ${fs} -name perllocal.pod -delete
nneul@17850 32 find ${fs} -name .packlist -delete
nneul@17850 33
nneul@17850 34
nneul@17850 35 }
nneul@17850 36