wok-current annotate perl-number-compare/receipt @ rev 11121
zlib: Add patch to fix compiling some programs. Like newer version of poppler.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 19:55:18 2011 +0000 (2011-10-26) |
parents | |
children | 2d12ebd38be4 |
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" |
slaxemulator@10174 | 8 DEPENDS="perl" |
slaxemulator@10174 | 9 BUILD_DEPENDS="perl" |
slaxemulator@10174 | 10 SOURCE="Number-Compare" |
slaxemulator@10174 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10174 | 12 WEB_SITE="http://search.cpan.org/dist/Number-Compare/" |
slaxemulator@10174 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10174 | 14 |
slaxemulator@10174 | 15 # Rules to configure and make the package. |
slaxemulator@10174 | 16 compile_rules() |
slaxemulator@10174 | 17 { |
slaxemulator@10174 | 18 cd $src |
slaxemulator@10174 | 19 perl Makefile.PL && |
slaxemulator@10174 | 20 make && |
slaxemulator@10174 | 21 make install DESTDIR=$DESTDIR |
slaxemulator@10174 | 22 } |
slaxemulator@10174 | 23 |
slaxemulator@10174 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10174 | 25 genpkg_rules() |
slaxemulator@10174 | 26 { |
slaxemulator@10174 | 27 mkdir -p $fs/usr |
slaxemulator@10174 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10174 | 29 } |