wok-6.x annotate perl-http-server-simple/receipt @ rev 21512
updated nagios-plugins (1.4.16 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 12:54:18 2019 +0100 (2019-05-03) |
parents | 2d12ebd38be4 |
children | d87b3cb6f2d3 |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-http-server-simple" |
pascal@14698 | 4 VERSION="0.44" |
pascal@14698 | 5 CATEGORY="development" |
pascal@14698 | 6 SHORT_DESC="HTTP::Server::Simple module is a Perl extension." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14698 | 9 DEPENDS="perl" |
pascal@14698 | 10 BUILD_DEPENDS="perl" |
pascal@14698 | 11 SOURCE="HTTP-Server-Simple" |
pascal@14698 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14698 | 13 WEB_SITE="http://cpan.org/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/J/JE/JESSE/$TARBALL" |
pascal@14698 | 15 |
pascal@14698 | 16 # Rules to configure and make the package. |
pascal@14698 | 17 compile_rules() |
pascal@14698 | 18 { |
pascal@14698 | 19 cd $src |
pascal@14698 | 20 perl Makefile.PL && |
pascal@14698 | 21 make && |
pascal@14698 | 22 make install DESTDIR=$DESTDIR |
pascal@14698 | 23 } |
pascal@14698 | 24 |
pascal@14698 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 26 genpkg_rules() |
pascal@14698 | 27 { |
pascal@14698 | 28 mkdir -p $fs/usr |
pascal@14698 | 29 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 30 } |
pascal@14698 | 31 |