wok-6.x view perl-http-daemon/receipt @ rev 19587
Up node (0.12.18)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 28 13:05:40 2016 +0100 (2016-12-28) |
parents | 2d12ebd38be4 |
children | 6e8b1bcb30e2 |
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 LICENSE="GPL"
9 SOURCE="HTTP-Daemon"
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-http-date perl-http-message perl-lwp-mediatypes"
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 }