wok annotate perl-fcgi/receipt @ rev 23220
gaupol: python2 replaced by python3
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 13:55:45 2020 +0100 (2020-03-23) |
parents | 5e6810e4a860 |
children | 4baa8156f3f2 |
rev | line source |
---|---|
nneul@17870 | 1 # SliTaz package receipt. |
nneul@17870 | 2 |
nneul@17870 | 3 PACKAGE="perl-fcgi" |
nneul@17870 | 4 VERSION="0.77" |
nneul@17870 | 5 CATEGORY="development" |
nneul@17870 | 6 SHORT_DESC="Perl/CPAN Module FCGI" |
nneul@17870 | 7 MAINTAINER="nneul@neulinger.org" |
pascal@19678 | 8 LICENSE="other" |
nneul@17870 | 9 # Open Market vendor specific, looks BSD'ish |
nneul@17870 | 10 DEPENDS="perl" |
nneul@17870 | 11 BUILD_DEPENDS="perl" |
nneul@17870 | 12 SOURCE="FCGI" |
nneul@17870 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 14 WEB_SITE="https://metacpan.org/release/FCGI/" |
nneul@17870 | 15 WGET_URL="http://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL" |
nneul@17870 | 16 |
nneul@17870 | 17 # Rules to configure and make the package. |
nneul@17870 | 18 compile_rules() |
nneul@17870 | 19 { |
nneul@17870 | 20 cd $src |
nneul@17870 | 21 perl Makefile.PL && |
nneul@17870 | 22 make && |
nneul@17870 | 23 make DESTDIR=$DESTDIR install |
nneul@17870 | 24 } |
nneul@17870 | 25 |
nneul@17870 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17870 | 27 genpkg_rules() |
nneul@17870 | 28 { |
nneul@17870 | 29 mkdir -p $fs/usr |
nneul@17870 | 30 cp -a $install/usr/lib $fs/usr |
nneul@17870 | 31 # remove perllocal.pod and .packlist |
nneul@17870 | 32 find ${fs} -name perllocal.pod -delete |
nneul@17870 | 33 find ${fs} -name .packlist -delete |
nneul@17870 | 34 |
nneul@17870 | 35 |
nneul@17870 | 36 } |
nneul@17870 | 37 |