wok-6.x view perl-net-http/receipt @ rev 14034
gst-plugins-bad-dev, gst-plugins-base-dev, gst-plugins-good-dev, gst-plugins-ugly-dev, schroedinger-dev: avoid one shot build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 14:54:08 2013 +0100 (2013-02-18) |
parents | |
children | 2d12ebd38be4 |
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 SOURCE="Net-HTTP"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
11 WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
13 DEPENDS="perl perl-compress-raw-zlib perl-io-compress"
14 BUILD_DEPENDS="perl $DEPENDS"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL && make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }