# HG changeset patch # User Christopher Rogers # Date 1300345914 0 # Node ID 7678141ac630d289c8c4decdd673fabe1fc92241 # Parent 8235934a874bbedbeaa0e5d18e9d276a4e83fbc2 Add perl-file-slurp. diff -r 8235934a874b -r 7678141ac630 perl-file-slurp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-slurp/receipt Thu Mar 17 07:11:54 2011 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-file-slurp" +VERSION="9999.13" +CATEGORY="development" +SHORT_DESC="File::Slurp module is a Perl extension." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="File-Slurp" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/File-Slurp" +WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +