# HG changeset patch # User Eric Joseph-Alexandre # Date 1331079773 -3600 # Node ID 94050984820c1176914834dfcc81712a0859fec4 # Parent d2ea785a98d7f3dae3276fa3a815715f03db5590 Add: perl-file-listing diff -r d2ea785a98d7 -r 94050984820c perl-file-listing/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-listing/receipt Wed Mar 07 01:22:53 2012 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-file-listing" +VERSION="6.04" +CATEGORY="development" +SHORT_DESC="File::Listing - parse directory listing." +MAINTAINER="erjo@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="File-Listing" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$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 +} +