2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Persistent Perl interpreter for the Apache HTTP server
|
|
|
|
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
|
# URL: http://perl.apache.org
|
2006-12-01 09:41:43 +01:00
|
|
|
|
# Depends on: apache, perl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
# Group: apache
|
|
|
|
|
|
|
|
|
|
name=mod_perl
|
2008-04-17 09:25:18 +02:00
|
|
|
|
version=2.0.4
|
2006-12-01 09:41:43 +01:00
|
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(http://perl.apache.org/dist/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build(){
|
|
|
|
|
cd $name-$version
|
|
|
|
|
perl Makefile.PL \
|
|
|
|
|
MP_USE_DSO=1 \
|
|
|
|
|
MP_APXS=/usr/sbin/apxs
|
2008-04-17 09:25:18 +02:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2008-04-17 09:25:18 +02:00
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
rm -r $PKG/usr/bin
|
|
|
|
|
rm -r $PKG/usr/lib/perl5/site_perl/5.8.?/linux/{Apache,Bundle}
|
|
|
|
|
rm $PKG/usr/man/man3/{Bundle::*,Apache::*}
|
|
|
|
|
find $PKG -regex '.*\(perllocal\.pod\|\.packlist\|\.bs\)' -delete
|
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
|
|
|
}
|