wok annotate perl-lwp-useragent/receipt @ rev 11256
Add from wok-undigest: perl-crypt-ssleay perl-gtk2-perl perl-gtk2-trayicon perl-lwp-useragent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 07 17:10:45 2011 +0100 (2011-11-07) |
parents | |
children |
rev | line source |
---|---|
pascal@11256 | 1 # SliTaz package receipt. |
pascal@11256 | 2 |
pascal@11256 | 3 PACKAGE="perl-lwp-useragent" |
pascal@11256 | 4 VERSION="6.03" |
pascal@11256 | 5 CATEGORY="development" |
pascal@11256 | 6 SHORT_DESC="LWP::UserAgent module is a Perl extension." |
pascal@11256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11256 | 8 DEPENDS="perl" |
pascal@11256 | 9 BUILD_DEPENDS="perl" |
pascal@11256 | 10 SOURCE="libwww-perl" |
pascal@11256 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11256 | 12 WEB_SITE="http://cpan.org/" |
pascal@11256 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@11256 | 14 |
pascal@11256 | 15 # Rules to configure and make the package. |
pascal@11256 | 16 compile_rules() |
pascal@11256 | 17 { |
pascal@11256 | 18 cd $src |
pascal@11256 | 19 perl Makefile.PL && |
pascal@11256 | 20 make && |
pascal@11256 | 21 make DESTDIR=$PWD/_pkg install |
pascal@11256 | 22 } |
pascal@11256 | 23 |
pascal@11256 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11256 | 25 genpkg_rules() |
pascal@11256 | 26 { |
pascal@11256 | 27 mkdir -p $fs/usr |
pascal@11256 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@11256 | 29 } |
pascal@11256 | 30 |