wok-next annotate perl-http-server-simple/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 1a86cb99cbbf |
children | d5aab818505e |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-http-server-simple" |
al@19709 | 4 VERSION="0.52" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="HTTP::Server::Simple - Lightweight HTTP server" |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/HTTP-Server-Simple" |
al@20884 | 10 REPOLOGY="perl:http-server-simple" |
al@19709 | 11 |
al@19709 | 12 TARBALL="HTTP-Server-Simple-$VERSION.tar.gz" |
al@19709 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/B/BP/BPS/$TARBALL" |
al@19709 | 14 |
al@19709 | 15 DEPENDS="perl-cgi" |
al@19709 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@14698 | 17 |
pascal@14698 | 18 # Rules to configure and make the package. |
pascal@14698 | 19 compile_rules() |
pascal@14698 | 20 { |
pascal@14698 | 21 perl Makefile.PL && |
al@19709 | 22 make && make DESTDIR=$install install && |
al@19709 | 23 |
al@19709 | 24 chmod -R u+w $install |
pascal@14698 | 25 } |
pascal@14698 | 26 |
pascal@14698 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 28 genpkg_rules() |
pascal@14698 | 29 { |
al@19709 | 30 copy @std |
pascal@14698 | 31 } |