wok view perl-fcgi/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 47bc44949e9a
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-fcgi"
4 VERSION="0.77"
5 CATEGORY="development"
6 SHORT_DESC="Perl/CPAN Module FCGI"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="other"
9 # Open Market vendor specific, looks BSD'ish
10 DEPENDS="perl"
11 BUILD_DEPENDS="perl"
12 SOURCE="FCGI"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WEB_SITE="http://search.cpan.org/dist/FCGI/"
15 WGET_URL="http://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 # remove perllocal.pod and .packlist
32 find ${fs} -name perllocal.pod -delete
33 find ${fs} -name .packlist -delete
36 }