wok-6.x annotate perl-file-slurp/receipt @ rev 15480
memtest: default setup size = 4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:19:32 2013 +0000 (2013-11-10) |
parents | 7678141ac630 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@9298 | 1 # SliTaz package receipt. |
slaxemulator@9298 | 2 |
slaxemulator@9298 | 3 PACKAGE="perl-file-slurp" |
slaxemulator@9298 | 4 VERSION="9999.13" |
slaxemulator@9298 | 5 CATEGORY="development" |
slaxemulator@9298 | 6 SHORT_DESC="File::Slurp module is a Perl extension." |
slaxemulator@9298 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9298 | 9 DEPENDS="perl" |
slaxemulator@9298 | 10 BUILD_DEPENDS="perl" |
slaxemulator@9298 | 11 SOURCE="File-Slurp" |
slaxemulator@9298 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9298 | 13 WEB_SITE="http://search.cpan.org/dist/File-Slurp" |
slaxemulator@9298 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
slaxemulator@9298 | 15 |
slaxemulator@9298 | 16 # Rules to configure and make the package. |
slaxemulator@9298 | 17 compile_rules() |
slaxemulator@9298 | 18 { |
slaxemulator@9298 | 19 cd $src |
slaxemulator@9298 | 20 perl Makefile.PL && |
slaxemulator@9298 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9298 | 23 } |
slaxemulator@9298 | 24 |
slaxemulator@9298 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9298 | 26 genpkg_rules() |
slaxemulator@9298 | 27 { |
slaxemulator@9298 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9298 | 30 } |
slaxemulator@9298 | 31 |