wok rev 11946

add perl-mathround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 10:46:31 2012 +0100 (2012-03-01)
parents 265438f85faa
children 0b50af37e929
files perl-datetime/receipt perl-mathround/receipt
line diff
     1.1 --- a/perl-datetime/receipt	Thu Mar 01 09:20:32 2012 +0100
     1.2 +++ b/perl-datetime/receipt	Thu Mar 01 10:46:31 2012 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  
     1.5  DEPENDS="perl"
     1.6  BUILD_DEPENDS="perl perl-params-validate perl-test-exception \
     1.7 -perl-datetime-locale perl-datetime-timezone"
     1.8 +perl-datetime-locale perl-datetime-timezone perl-mathround"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-mathround/receipt	Thu Mar 01 10:46:31 2012 +0100
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-mathround"
     2.7 +VERSION="0.06"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Math::Round module is a Perl extension."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +DEPENDS="perl"
    2.12 +BUILD_DEPENDS="perl"
    2.13 +SOURCE="Math-Round"
    2.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.15 +WEB_SITE="http://search.cpan.org/"
    2.16 +WGET_URL="http://cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	perl Makefile.PL
    2.23 +	make
    2.24 +	make DESTDIR=$DESTDIR install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr
    2.31 +	cp -a $install/usr/lib $fs/usr
    2.32 +}
    2.33 +