blob: 4c76eb05b22ddb3f4e614a5bf1846eb752b33473 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 126963 2011-06-08 23:54:03Z foutrelis $
# Maintainer: Firmicus <francois.archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=mod_perl
pkgver=2.0.5
pkgrel=4
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}
}
|