# HG changeset patch # User Christopher Rogers # Date 1305928271 0 # Node ID 817e05e8afe17cb51f01ae09102a2c1de659cb6b # Parent b9ac4995acf544e0449673653dbc6bfa702476e4 Add perl-carp-clan. diff -r b9ac4995acf5 -r 817e05e8afe1 perl-carp-clan/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-carp-clan/receipt Fri May 20 21:51:11 2011 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="perl-carp-clan" +VERSION="6.04" +CATEGORY="development" +SHORT_DESC="Report errors from perspective of caller of a "clan" of modules" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Carp-Clan" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/Carp-Clan/" +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