mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
827 B
Bash
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
|
|
}
|