wok view perl-net-http/receipt @ rev 12340
libv4l: Needs jpeg-dev to compile.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 09:41:34 2012 +0000 (2012-04-19) |
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 }