wok annotate perl-fcgi/receipt @ rev 23929
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:25:24 2020 +0000 (2020-09-01) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
rev | line source |
---|---|
nneul@17870 | 1 # SliTaz package receipt. |
nneul@17870 | 2 |
nneul@17870 | 3 PACKAGE="perl-fcgi" |
Hans-G?nter@23326 | 4 VERSION="0.79" |
nneul@17870 | 5 CATEGORY="development" |
Hans-G?nter@23326 | 6 SHORT_DESC="Perl Module FCGI." |
nneul@17870 | 7 MAINTAINER="nneul@neulinger.org" |
pascal@19678 | 8 LICENSE="other" |
nneul@17870 | 9 # Open Market vendor specific, looks BSD'ish |
Hans-G?nter@23326 | 10 WEB_SITE="https://metacpan.org/release/FCGI/" |
Hans-G?nter@23326 | 11 |
Hans-G?nter@23326 | 12 SOURCE="FCGI" |
Hans-G?nter@23326 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23326 | 14 WGET_URL="https://www.cpan.org/modules/by-module/FCGI/$TARBALL" |
Hans-G?nter@23326 | 15 |
nneul@17870 | 16 DEPENDS="perl" |
nneul@17870 | 17 BUILD_DEPENDS="perl" |
nneul@17870 | 18 |
nneul@17870 | 19 # Rules to configure and make the package. |
nneul@17870 | 20 compile_rules() |
nneul@17870 | 21 { |
nneul@17870 | 22 perl Makefile.PL && |
nneul@17870 | 23 make && |
nneul@17870 | 24 make DESTDIR=$DESTDIR install |
nneul@17870 | 25 } |
nneul@17870 | 26 |
nneul@17870 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17870 | 28 genpkg_rules() |
nneul@17870 | 29 { |
nneul@17870 | 30 mkdir -p $fs/usr |
Hans-G?nter@23326 | 31 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23326 | 32 |
nneul@17870 | 33 # remove perllocal.pod and .packlist |
Hans-G?nter@23326 | 34 find $fs -name perllocal.pod -delete |
Hans-G?nter@23326 | 35 find $fs -name .packlist -delete |
nneul@17870 | 36 } |