wok annotate perl-libjson/receipt @ rev 18762

Up slitaz-tools-boxes (962)
author Lucas Levrel <llevrel@yahoo.fr>
date Tue Dec 29 21:25:57 2015 +0100 (2015-12-29)
parents 6d1d3b3a1af1
children 20661c276bcf
rev   line source
pascal@17358 1 # SliTaz package receipt.
pascal@17358 2
pascal@17358 3 PACKAGE="perl-libjson"
pascal@17358 4 SOURCE="JSON"
pascal@17358 5 VERSION="2.90"
pascal@17358 6 CATEGORY="development"
pascal@17358 7 SHORT_DESC="JSON (JavaScript Object Notation) encoder/decoder"
pascal@17358 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17358 9 LICENSE="GPL"
pascal@17358 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@17358 11 WEB_SITE="https://metacpan.org/release/JSON"
pascal@17358 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL"
pascal@17358 13
pascal@17741 14 DEPENDS="perl"
pascal@17741 15 BUILD_DEPENDS="perl"
pascal@17741 16
pascal@17358 17 # Rules to configure and make the package.
pascal@17358 18 compile_rules()
pascal@17358 19 {
pascal@17358 20 perl Makefile.PL &&
pascal@17358 21 make &&
pascal@17358 22 make DESTDIR=$DESTDIR install
pascal@17358 23 }
pascal@17358 24
pascal@17358 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17358 26 genpkg_rules()
pascal@17358 27 {
pascal@17358 28 mkdir -p $fs/usr
pascal@17358 29 cp -a $install/usr/lib $fs/usr
pascal@17358 30 }