wok view perl-http-daemon/receipt @ rev 13581
Autofs: copy content to proper paths
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Nov 06 01:33:15 2012 -0200 (2012-11-06) |
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 }