2006-02-23 15:26:10 +00:00
|
|
|
# Description: Persistent Perl interpreter for the Apache HTTP server
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# 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
|
2011-02-08 17:46:46 +01:00
|
|
|
version=2.0.5
|
|
|
|
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
|
2009-08-31 14:42:07 +02:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2008-04-17 09:25:18 +02:00
|
|
|
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
rm $PKG/usr/man/man3/{Bundle::*,Apache::*}
|
|
|
|
find $PKG -regex '.*\(perllocal\.pod\|\.packlist\|\.bs\)' -delete
|
|
|
|
find $PKG -depth -empty -exec rm -rf {} \;
|
|
|
|
}
|