wok-stable view perl-mathround/receipt @ rev 11974

boinc: edit init script
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 02 11:53:04 2012 -0800 (2012-03-02)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-mathround"
4 VERSION="0.06"
5 CATEGORY="development"
6 SHORT_DESC="Math::Round module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl"
10 SOURCE="Math-Round"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/"
13 WGET_URL="http://cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL
20 make
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }