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"
|
nneul@17870
|
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"
|
nneul@17870
|
14 WEB_SITE="http://search.cpan.org/dist/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
|