wok annotate perl-lwp-useragent/receipt @ rev 6961
xorg-server: add config dir
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Oct 26 13:15:37 2010 +0200 (2010-10-26) |
parents | d20010b27acf |
children |
rev | line source |
---|---|
pascal@2066 | 1 # SliTaz package receipt. |
pascal@2066 | 2 |
pascal@2066 | 3 PACKAGE="perl-lwp-useragent" |
pascal@2066 | 4 VERSION="5.823" |
pascal@2066 | 5 CATEGORY="development" |
pascal@2066 | 6 SHORT_DESC="LWP::UserAgent module is a Perl extension." |
pascal@2066 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2066 | 8 DEPENDS="perl" |
pascal@2066 | 9 BUILD_DEPENDS="perl" |
pascal@2066 | 10 SOURCE="libwww-perl" |
pascal@2066 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 12 WEB_SITE="http://www.cpan.org/modules/" |
pascal@2066 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@2066 | 14 |
pascal@2066 | 15 # Rules to configure and make the package. |
pascal@2066 | 16 compile_rules() |
pascal@2066 | 17 { |
pascal@2066 | 18 cd $src |
pascal@2066 | 19 perl Makefile.PL && |
pascal@2066 | 20 make && |
pascal@2066 | 21 make DESTDIR=$PWD/_pkg install |
pascal@2066 | 22 } |
pascal@2066 | 23 |
pascal@2066 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2066 | 25 genpkg_rules() |
pascal@2066 | 26 { |
pascal@2066 | 27 mkdir -p $fs/usr |
pascal@2066 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@2066 | 29 } |
pascal@2066 | 30 |