wok-next annotate perl-libwww/receipt @ rev 11285
perl-libwww: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 10 14:56:54 2011 +0000 (2011-11-10) |
parents | e41bca1e9fcd |
children | 1952a594ef0e |
rev | line source |
---|---|
slaxemulator@7698 | 1 # SliTaz package receipt. |
slaxemulator@7698 | 2 |
slaxemulator@7698 | 3 PACKAGE="perl-libwww" |
slaxemulator@9837 | 4 VERSION="6.02" |
slaxemulator@7698 | 5 CATEGORY="development" |
slaxemulator@7698 | 6 SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW" |
slaxemulator@7698 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7698 | 8 DEPENDS="perl-uri perl-html-parser" |
slaxemulator@7698 | 9 BUILD_DEPENDS="perl $DEPENDS" |
slaxemulator@7698 | 10 SOURCE="libwww-perl" |
slaxemulator@7698 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11285 | 12 WEB_SITE="http://search.cpan.org/dist/libwww-perl/" |
slaxemulator@7698 | 13 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
slaxemulator@7698 | 14 |
slaxemulator@7698 | 15 # Rules to configure and make the package. |
slaxemulator@7698 | 16 compile_rules() |
slaxemulator@7698 | 17 { |
slaxemulator@7698 | 18 cd $src |
slaxemulator@11285 | 19 perl Makefile.PL && |
slaxemulator@11285 | 20 make && |
slaxemulator@11285 | 21 make DESTDIR=$DESTDIR install |
slaxemulator@7698 | 22 } |
slaxemulator@7698 | 23 |
slaxemulator@7698 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7698 | 25 genpkg_rules() |
slaxemulator@7698 | 26 { |
slaxemulator@7698 | 27 mkdir -p $fs/usr |
slaxemulator@7698 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7698 | 29 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7698 | 30 } |