mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
27 lines
942 B
Bash
27 lines
942 B
Bash
# Maintainer: Firmicus <francois.archlinux.org>
|
|
# Contributor: Tom K <tomk@runbox.com>
|
|
|
|
pkgname=mod_perl
|
|
_realname=mod_perl
|
|
pkgver=2.0.4
|
|
pkgrel=6
|
|
pkgdesc="Apache module that embeds the Perl interpreter within the server"
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl=5.10.1' 'apache' 'db>=4.8' 'apr-util')
|
|
license=('APACHE')
|
|
arch=('arm')
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/G/GO/GOZER/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('1a05625ae6843085f985f5da8214502a')
|
|
|
|
build() {
|
|
cd ${startdir}/src/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs || return 1
|
|
/usr/bin/make || return 1
|
|
/usr/bin/make install DESTDIR=${startdir}/pkg || return 1
|
|
|
|
# remove perllocal.pod and .packlist.
|
|
/usr/bin/find ${startdir}/pkg -name 'perllocal.pod' -delete
|
|
/usr/bin/find ${startdir}/pkg -name '.packlist' -delete
|
|
}
|