wok-current annotate perl-fcgi-procmanager/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
nneul@17871 | 1 # SliTaz package receipt. |
nneul@17871 | 2 |
nneul@17871 | 3 PACKAGE="perl-fcgi-procmanager" |
nneul@17871 | 4 VERSION="0.25" |
nneul@17871 | 5 CATEGORY="development" |
nneul@17871 | 6 SHORT_DESC="Perl/CPAN Module FCGI::ProcManager" |
nneul@17871 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17871 | 8 LICENSE="GPL" |
nneul@17871 | 9 DEPENDS="perl" |
nneul@17871 | 10 BUILD_DEPENDS="perl" |
nneul@17871 | 11 SOURCE="FCGI-ProcManager" |
nneul@17871 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@17871 | 13 WEB_SITE="http://search.cpan.org/dist/FCGI-ProcManager/" |
nneul@17871 | 14 WGET_URL="http://www.cpan.org/authors/id/A/AR/ARODLAND/$TARBALL" |
nneul@17871 | 15 |
nneul@17871 | 16 # Rules to configure and make the package. |
nneul@17871 | 17 compile_rules() |
nneul@17871 | 18 { |
nneul@17871 | 19 cd $src |
nneul@17871 | 20 perl Makefile.PL && |
nneul@17871 | 21 make && |
nneul@17871 | 22 make DESTDIR=$DESTDIR install |
nneul@17871 | 23 } |
nneul@17871 | 24 |
nneul@17871 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17871 | 26 genpkg_rules() |
nneul@17871 | 27 { |
nneul@17871 | 28 mkdir -p $fs/usr |
nneul@17871 | 29 cp -a $install/usr/lib $fs/usr |
nneul@17871 | 30 # remove perllocal.pod and .packlist |
nneul@17871 | 31 find ${fs} -name perllocal.pod -delete |
nneul@17871 | 32 find ${fs} -name .packlist -delete |
nneul@17871 | 33 |
nneul@17871 | 34 |
nneul@17871 | 35 } |
nneul@17871 | 36 |