wok view perl-http-daemon/receipt @ rev 12794

Up: slitaz-base-files (5.2.1) Bunch of new functions in libs
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 17 09:12:52 2012 +0200 (2012-05-17)
parents c324c88e6ae0
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-http-daemon"
4 VERSION="6.01"
5 CATEGORY="development"
6 SHORT_DESC="A Perl simple http server class"
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="HTTP-Daemon"
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-http-date perl-http-message perl-lwp-mediatypes"
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 }