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

xchat-plugin: include glib.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 22:14:21 2012 +0200 (2012-05-31)
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 }