PKGBUILDs/extra/mod_fastcgi/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
827 B
Bash

# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=mod_fastcgi
pkgver=2.4.6
pkgrel=2
pkgdesc="Apache module to support the FastCGI protocol"
arch=(i686 x86_64)
license=('custom')
url="http://www.fastcgi.com/"
depends=('apache')
options=('!libtool')
source=(http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz
lp381384.patch)
md5sums=('a21a613dd5dacf4c8ad88c8550294fed' '7dd09e6579cc9bf2f992bbd82d1d1537')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/lp381384.patch" || return 1
cp Makefile.AP2 Makefile
make top_dir=/usr/lib/httpd || return 1
make top_dir=/usr/lib/httpd DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 docs/LICENSE.TERMS "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}