wok-stable annotate perl-file-slurp/receipt @ rev 9809
pygtk: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 23:13:35 2011 +0200 (2011-05-14) |
parents | |
children |
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" |
slaxemulator@9298 | 8 DEPENDS="perl" |
slaxemulator@9298 | 9 BUILD_DEPENDS="perl" |
slaxemulator@9298 | 10 SOURCE="File-Slurp" |
slaxemulator@9298 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9298 | 12 WEB_SITE="http://search.cpan.org/dist/File-Slurp" |
slaxemulator@9298 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" |
slaxemulator@9298 | 14 |
slaxemulator@9298 | 15 # Rules to configure and make the package. |
slaxemulator@9298 | 16 compile_rules() |
slaxemulator@9298 | 17 { |
slaxemulator@9298 | 18 cd $src |
slaxemulator@9298 | 19 perl Makefile.PL && |
slaxemulator@9298 | 20 make && |
slaxemulator@9298 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9298 | 22 } |
slaxemulator@9298 | 23 |
slaxemulator@9298 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9298 | 25 genpkg_rules() |
slaxemulator@9298 | 26 { |
slaxemulator@9298 | 27 mkdir -p $fs/usr |
slaxemulator@9298 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9298 | 29 } |
slaxemulator@9298 | 30 |