summaryrefslogtreecommitdiff
path: root/testing/mod_perl
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-03 23:10:20 +0000
committerroot <root@rshg047.dnsready.net>2011-07-03 23:10:20 +0000
commit067b127a853780b2b4ae7236dcdaaf72396dfa86 (patch)
treeec55d0d4115d7c9fc0eb9e1a82a2553f4e0cd3aa /testing/mod_perl
parent1732308adb7885b00fc388f978e65b3ad15aa067 (diff)
Sun Jul 3 23:10:20 UTC 2011
Diffstat (limited to 'testing/mod_perl')
-rw-r--r--testing/mod_perl/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/mod_perl/PKGBUILD b/testing/mod_perl/PKGBUILD
new file mode 100644
index 000000000..9f3595deb
--- /dev/null
+++ b/testing/mod_perl/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 129799 2011-06-28 23:07:22Z angvp $
+# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk@runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.5
+pkgrel=7
+pkgdesc="Apache module that embeds the Perl interpreter within the server"
+url="http://search.cpan.org/dist/${pkgname}/"
+depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
+license=('APACHE')
+arch=('i686' 'x86_64')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/${pkgname}-${pkgver}.tar.gz)
+md5sums=('03d01d135a122bd8cebd0cd5b185d674')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+}