wok-next annotate perl-number-compare/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
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 } |