wok annotate perl-file-find-rule/receipt @ rev 17177
Up?slitaz-tools s/gz/bz2
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Sep 26 18:13:35 2014 +0200 (2014-09-26) |
parents | 342982e73709 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@10176 | 1 # SliTaz package receipt. |
slaxemulator@10176 | 2 |
slaxemulator@10176 | 3 PACKAGE="perl-file-find-rule" |
slaxemulator@10176 | 4 VERSION="0.32" |
slaxemulator@10176 | 5 CATEGORY="development" |
slaxemulator@10176 | 6 SHORT_DESC="Perl/CPAN Module File::Find::Rule." |
slaxemulator@10176 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10176 | 9 DEPENDS="perl-text-glob perl-number-compare perl" |
slaxemulator@10176 | 10 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10176 | 11 SOURCE="File-Find-Rule" |
slaxemulator@10176 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10176 | 13 WEB_SITE="http://search.cpan.org/dist/File-Find-Rule/" |
slaxemulator@10176 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10176 | 15 |
slaxemulator@10176 | 16 # Rules to configure and make the package. |
slaxemulator@10176 | 17 compile_rules() |
slaxemulator@10176 | 18 { |
slaxemulator@10176 | 19 cd $src |
slaxemulator@10176 | 20 perl Makefile.PL && |
slaxemulator@10176 | 21 make && |
slaxemulator@10176 | 22 make install DESTDIR=$DESTDIR |
slaxemulator@10176 | 23 } |
slaxemulator@10176 | 24 |
slaxemulator@10176 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10176 | 26 genpkg_rules() |
slaxemulator@10176 | 27 { |
slaxemulator@10176 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@10176 | 31 } |
slaxemulator@10176 | 32 |