wok-current annotate perl-net-http/receipt @ rev 14702
perl, rrdtool: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:46:07 2013 +0200 (2013-06-07) |
parents | c324c88e6ae0 |
children | 4451c4e24ec0 |
rev | line source |
---|---|
erjo@12228 | 1 # SliTaz package receipt. |
erjo@12228 | 2 |
erjo@12228 | 3 PACKAGE="perl-net-http" |
erjo@12228 | 4 VERSION="6.03" |
erjo@12228 | 5 CATEGORY="development" |
erjo@12228 | 6 SHORT_DESC="Low-level HTTP connection (client)" |
erjo@12228 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@12228 | 9 SOURCE="Net-HTTP" |
erjo@12228 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@12228 | 11 WEB_SITE="http://search.cpan.org/dist/libwww-perl/" |
erjo@12228 | 12 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" |
erjo@12228 | 13 |
erjo@12228 | 14 DEPENDS="perl perl-compress-raw-zlib perl-io-compress" |
erjo@12228 | 15 BUILD_DEPENDS="perl $DEPENDS" |
erjo@12228 | 16 |
erjo@12228 | 17 # Rules to configure and make the package. |
erjo@12228 | 18 compile_rules() |
erjo@12228 | 19 { |
erjo@12228 | 20 cd $src |
erjo@12228 | 21 perl Makefile.PL && make && make DESTDIR=$DESTDIR install |
erjo@12228 | 22 |
erjo@12228 | 23 } |
erjo@12228 | 24 |
erjo@12228 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@12228 | 26 genpkg_rules() |
erjo@12228 | 27 { |
erjo@12228 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@12228 | 31 } |