summaryrefslogtreecommitdiff
path: root/staging/mod_perl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-28 23:10:22 +0000
committerroot <root@rshg047.dnsready.net>2011-06-28 23:10:22 +0000
commit108636e69eaeef67f4e7263c7f26105e25979e89 (patch)
tree94f902b30c95dbddd8f514c4d3645700f80ed101 /staging/mod_perl/PKGBUILD
parent0a595245dd258cc0ad9a5de2b292cf1b1a94f51a (diff)
Tue Jun 28 23:10:22 UTC 2011
Diffstat (limited to 'staging/mod_perl/PKGBUILD')
-rw-r--r--staging/mod_perl/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/staging/mod_perl/PKGBUILD b/staging/mod_perl/PKGBUILD
new file mode 100644
index 000000000..91af58005
--- /dev/null
+++ b/staging/mod_perl/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 129459 2011-06-28 01:36:46Z stephane $
+# Maintainer: Firmicus <francois.archlinux.org>
+# Contributor: Tom K <tomk@runbox.com>
+
+pkgname=mod_perl
+pkgver=2.0.5
+pkgrel=5
+pkgdesc="Apache module that embeds the Perl interpreter within the server"
+url="http://search.cpan.org/dist/${pkgname}/"
+depends=('perl' 'apache' 'db' 'apr-util')
+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}
+}