wok-stable annotate perl-math-round/receipt @ rev 12229
perl-libwww: fix depends
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 10:53:20 2012 +0200 (2012-04-09) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@11977 | 1 # SliTaz package receipt. |
slaxemulator@11977 | 2 |
slaxemulator@11977 | 3 PACKAGE="perl-math-round" |
slaxemulator@11977 | 4 VERSION="0.06" |
slaxemulator@11977 | 5 CATEGORY="development" |
slaxemulator@11977 | 6 SHORT_DESC="Perl extension for rounding numbers" |
slaxemulator@11977 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11977 | 8 WEB_SITE="http://search.cpan.org/dist/Math-Round" |
slaxemulator@11977 | 9 SOURCE="Math-Round" |
slaxemulator@11977 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11977 | 11 WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL" |
slaxemulator@11977 | 12 |
slaxemulator@11977 | 13 DEPENDS="perl" |
slaxemulator@11977 | 14 BUILD_DEPENDS="perl" |
slaxemulator@11977 | 15 |
slaxemulator@11977 | 16 # Rules to configure and make the package. |
slaxemulator@11977 | 17 compile_rules() |
slaxemulator@11977 | 18 { |
slaxemulator@11977 | 19 cd $src |
slaxemulator@11977 | 20 perl Makefile.PL && |
slaxemulator@11977 | 21 make && |
slaxemulator@11977 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@11977 | 23 } |
slaxemulator@11977 | 24 |
slaxemulator@11977 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11977 | 26 genpkg_rules() |
slaxemulator@11977 | 27 { |
slaxemulator@11977 | 28 cp -a $install/usr $fs |
slaxemulator@11977 | 29 } |