# SliTaz package receipt. PACKAGE="perl-libwww" VERSION="6.04" 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 perl-encode-locale perl-file-listing \ perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \ perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \ perl-net-ftp perl-net-http perl-www-robotrules" BUILD_DEPENDS="perl $DEPENDS" SOURCE="libwww-perl" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://search.cpan.org/dist/libwww-perl/" 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=$DESTDIR 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 }