# HG changeset patch # User Pascal Bellard # Date 1232732738 0 # Node ID 884e81df6e37160610669c95de74dcc5b37c81d7 # Parent d20010b27acfcbbfd84adcf7d3c145646bfd3710 Add perl-xml-entities diff -r d20010b27acf -r 884e81df6e37 perl-xml-entities/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-xml-entities/receipt Fri Jan 23 17:45:38 2009 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-xml-entities" +VERSION="0.0307" +CATEGORY="development" +SHORT_DESC="XML::Entities module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl perl-lwp-useragent" +SOURCE="XML-Entities" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/S/SI/SIXTEASE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mv $SOURCE $src 2> /dev/null + 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 +} +