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

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents 6e8b1bcb30e2
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-http-daemon"
4 VERSION="6.06"
5 CATEGORY="development"
6 SHORT_DESC="A Perl simple http server class."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/HTTP-Daemon"
11 SOURCE="HTTP-Daemon"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/HTTP/$TARBALL"
15 DEPENDS="perl perl-http-date perl-http-message perl-lwp-mediatypes"
16 BUILD_DEPENDS="perl $DEPENDS"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }