wok-6.x annotate perl-file-find-rule/receipt @ rev 14702
perl, rrdtool: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:46:07 2013 +0200 (2013-06-07) |
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 |