#Packager: Frédéric Galusik pkgname=perl-fcgi pkgver=0.74 pkgrel=1fg #arch=noarch source=(http://www.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/ docs=("readme" "manifest" "changelog") url=http://search.cpan.org/dist/FCGI slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-fcgi (perl FCGI module)" "This is the Perl Fast CGI module." ) build() { cd $startdir/src/FCGI-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }