wok view perl-http-server-simple/receipt @ rev 21776
linld: fix strdup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 12:50:44 2019 +0200 (2019-07-11) |
parents | 2d12ebd38be4 |
children | d87b3cb6f2d3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-http-server-simple"
4 VERSION="0.44"
5 CATEGORY="development"
6 SHORT_DESC="HTTP::Server::Simple module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="HTTP-Server-Simple"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="https://metacpan.org/CPAN/authors/id/J/JE/JESSE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make install DESTDIR=$DESTDIR
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 }