wok-next view perl-math-round/receipt @ rev 12753

dosbox: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 13:42:55 2012 +0200 (2012-05-11)
parents
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-math-round"
4 VERSION="0.06"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension for rounding numbers"
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://search.cpan.org/dist/Math-Round"
9 SOURCE="Math-Round"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
13 DEPENDS="perl"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }