wok diff perl-fcgi/receipt @ rev 19414
Up slitaz-dev-tools (258)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 24 14:47:43 2016 +0200 (2016-09-24) |
parents | |
children | 5e6810e4a860 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-fcgi/receipt Sat Sep 24 14:47:43 2016 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-fcgi" 1.7 +VERSION="0.77" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Perl/CPAN Module FCGI" 1.10 +MAINTAINER="nneul@neulinger.org" 1.11 +LICENSE="Other" 1.12 +# Open Market vendor specific, looks BSD'ish 1.13 +DEPENDS="perl" 1.14 +BUILD_DEPENDS="perl" 1.15 +SOURCE="FCGI" 1.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 +WEB_SITE="http://search.cpan.org/dist/FCGI/" 1.18 +WGET_URL="http://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + perl Makefile.PL && 1.25 + make && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $install/usr/lib $fs/usr 1.34 + # remove perllocal.pod and .packlist 1.35 + find ${fs} -name perllocal.pod -delete 1.36 + find ${fs} -name .packlist -delete 1.37 + 1.38 + 1.39 +} 1.40 +