# HG changeset patch # User Pascal Bellard # Date 1330595191 -3600 # Node ID 21d3d849daa2afca612e991a1f889b7d31328f31 # Parent 265438f85faa002b72b36a9ca713e824756439e9 add perl-mathround diff -r 265438f85faa -r 21d3d849daa2 perl-datetime/receipt --- a/perl-datetime/receipt Thu Mar 01 09:20:32 2012 +0100 +++ b/perl-datetime/receipt Thu Mar 01 10:46:31 2012 +0100 @@ -12,7 +12,7 @@ DEPENDS="perl" BUILD_DEPENDS="perl perl-params-validate perl-test-exception \ -perl-datetime-locale perl-datetime-timezone" +perl-datetime-locale perl-datetime-timezone perl-mathround" # Rules to configure and make the package. compile_rules() diff -r 265438f85faa -r 21d3d849daa2 perl-mathround/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-mathround/receipt Thu Mar 01 10:46:31 2012 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-mathround" +VERSION="0.06" +CATEGORY="development" +SHORT_DESC="Math::Round module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Math-Round" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/" +WGET_URL="http://cpan.org/authors/id/G/GR/GROMMEL/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL + make + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +} +