# HG changeset patch # User Nathan Neulinger # Date 1427413288 0 # Node ID 47bc44949e9a2ee357ec657db1a62acc0cf845a6 # Parent d3eb5f4b53ea175f7921c592d62cde04b669528a Add: perl-fcgi FCGI diff -r d3eb5f4b53ea -r 47bc44949e9a perl-fcgi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-fcgi/receipt Thu Mar 26 23:41:28 2015 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="perl-fcgi" +VERSION="0.77" +CATEGORY="development" +SHORT_DESC="Perl/CPAN Module FCGI" +MAINTAINER="nneul@neulinger.org" +LICENSE="Other" +# Open Market vendor specific, looks BSD'ish +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="FCGI" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/FCGI/" +WGET_URL="http://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr + # remove perllocal.pod and .packlist + find ${fs} -name perllocal.pod -delete + find ${fs} -name .packlist -delete + + +} +