wok-next view perl-net-http/receipt @ rev 18149
Up: slitaz-base-files (277)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 18 21:56:35 2015 +0300 (2015-06-18) |
parents | 2d12ebd38be4 |
children | 1a86cb99cbbf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-http"
4 VERSION="6.03"
5 CATEGORY="development"
6 SHORT_DESC="Low-level HTTP connection (client)"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Net-HTTP"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
12 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
14 DEPENDS="perl perl-compress-raw-zlib perl-io-compress"
15 BUILD_DEPENDS="perl $DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL && make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }