# HG changeset patch # User Christopher Rogers # Date 1305928765 0 # Node ID 2b78b526b09c44f6a733b00434ea9d0868d7fef6 # Parent 817e05e8afe17cb51f01ae09102a2c1de659cb6b Add perl-bit-vector. diff -r 817e05e8afe1 -r 2b78b526b09c perl-bit-vector/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-bit-vector/receipt Fri May 20 21:59:25 2011 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-bit-vector" +VERSION="7.1" +CATEGORY="development" +SHORT_DESC="Efficient bit vector, set of integers and big int math library" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl perl-carp-clan" +BUILD_DEPENDS="$DEPENDS" +SOURCE="Bit-Vector" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/Bit-Vector/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$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