wok view perl-math-round/receipt @ rev 12879

tazpkg: fix ARM build
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 25 19:40:12 2012 +0200 (2012-05-25)
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 }