2006-02-23 16:26:10 +01:00
|
|
|
# Description: Persistent Perl interpreter for the Apache HTTP server
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://perl.apache.org
|
2006-12-01 09:41:43 +01:00
|
|
|
# Depends on: apache, perl
|
2006-02-23 16:26:10 +01:00
|
|
|
# Group: apache
|
|
|
|
|
|
|
|
name=mod_perl
|
2008-04-17 09:25:18 +02:00
|
|
|
version=2.0.4
|
2010-11-16 11:16:29 +01:00
|
|
|
release=4
|
2006-02-23 16:26:10 +01: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 16:26:10 +01:00
|
|
|
make
|
2009-08-31 14:42:07 +02:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2008-04-17 09:25:18 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
rm -r $PKG/usr/bin
|
2010-11-16 11:16:29 +01:00
|
|
|
rm -r $PKG/usr/lib/perl5/site_perl/5.12/linux-thread-multi/{Apache,Bundle}
|
2006-02-23 16:26:10 +01:00
|
|
|
rm $PKG/usr/man/man3/{Bundle::*,Apache::*}
|
|
|
|
find $PKG -regex '.*\(perllocal\.pod\|\.packlist\|\.bs\)' -delete
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
|
|
}
|