wok annotate perl-number-compare/receipt @ rev 14911
Up: firefox-dev (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:04:34 2013 +0000 (2013-08-06) |
parents | a0cd72819bb9 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@10174 | 1 # SliTaz package receipt. |
slaxemulator@10174 | 2 |
slaxemulator@10174 | 3 PACKAGE="perl-number-compare" |
slaxemulator@10174 | 4 VERSION="0.01" |
slaxemulator@10174 | 5 CATEGORY="development" |
slaxemulator@10174 | 6 SHORT_DESC="Perl/CPAN Module Number::Compare" |
slaxemulator@10174 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10174 | 9 DEPENDS="perl" |
slaxemulator@10174 | 10 BUILD_DEPENDS="perl" |
slaxemulator@10174 | 11 SOURCE="Number-Compare" |
slaxemulator@10174 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10174 | 13 WEB_SITE="http://search.cpan.org/dist/Number-Compare/" |
slaxemulator@10174 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10174 | 15 |
slaxemulator@10174 | 16 # Rules to configure and make the package. |
slaxemulator@10174 | 17 compile_rules() |
slaxemulator@10174 | 18 { |
slaxemulator@10174 | 19 cd $src |
slaxemulator@10174 | 20 perl Makefile.PL && |
slaxemulator@10174 | 21 make && |
slaxemulator@10174 | 22 make install DESTDIR=$DESTDIR |
slaxemulator@10174 | 23 } |
slaxemulator@10174 | 24 |
slaxemulator@10174 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10174 | 26 genpkg_rules() |
slaxemulator@10174 | 27 { |
slaxemulator@10174 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@10174 | 30 } |