# HG changeset patch # User Christopher Rogers # Date 1292669618 0 # Node ID c57bc01562644223ec6c74061b8a4030dd89e0a1 # Parent aed0579895458800d124da966b5593c9003cbc11 Add perl-libwww. diff -r aed057989545 -r c57bc0156264 perl-libwww/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-libwww/receipt Sat Dec 18 10:53:38 2010 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-libwww" +VERSION="5.836" +CATEGORY="development" +SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl-uri perl-html-parser" +BUILD_DEPENDS="perl $DEPENDS" +SOURCE="libwww-perl" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/$SOURCE/" +WGET_URL="http://www.cpan.org/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/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +