# HG changeset patch # User Christopher Rogers # Date 1305929873 0 # Node ID a0cd72819bb9e44dee290820412d4671ae77ba39 # Parent ecc57e5c276b8ae75a1c26f632629672f2115b3f Add perl-number-compare. diff -r ecc57e5c276b -r a0cd72819bb9 perl-number-compare/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-number-compare/receipt Fri May 20 22:17:53 2011 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-number-compare" +VERSION="0.01" +CATEGORY="development" +SHORT_DESC="Perl/CPAN Module Number::Compare" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Number-Compare" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/Number-Compare/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make install DESTDIR=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} \ No newline at end of file