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

open-cobol: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 06 21:49:34 2016 +0100 (2016-03-06)
parents
children 6e8b1bcb30e2
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"
nneul@17850 13 WEB_SITE="http://search.cpan.org/dist/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