blob: 9e54317c0bd95949fbfa798f993617d5bf97fefa (
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
28
|
# $Id: PKGBUILD 108488 2011-01-31 14:48:50Z angvp $
# Maintainer: Firmicus <francois.archlinux.org>
# Contributor: Tom K <tomk@runbox.com>
pkgname=mod_perl
_realname=mod_perl
pkgver=2.0.4
pkgrel=11
pkgdesc="Apache module that embeds the Perl interpreter within the server"
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl=5.12.3' 'apache' 'db' 'apr-util')
license=('APACHE')
arch=('i686' 'x86_64')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/G/GO/GOZER/${_realname}-${pkgver}.tar.gz)
md5sums=('1a05625ae6843085f985f5da8214502a')
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
make
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make install DESTDIR=${pkgdir}
}
|