blob: a1eaf4eb3d4b64f0a9635a7ade644fa68ae7eb8d (
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
29
30
31
32
33
34
35
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=apache-mod-fcgid
_pkgreal=mod_fcgid
pkgver=2.3.9
pkgrel=2
pkgdesc="FastCGI module for Apache 2.x"
url="http://httpd.apache.org/$_pkgreal/"
arch="all"
license="Apache-2.0"
depends="apache2"
makedepends="apache2-dev"
install=""
subpackages="$pkgname-doc"
source="https://www.apache.org/dist/httpd/mod_fcgid/$_pkgreal-$pkgver.tar.gz
$_pkgreal.conf
"
_builddir="$srcdir"/$_pkgreal-$pkgver
build() {
cd "$_builddir"
./configure.apxs || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -d "$pkgdir"/var/www/localhost/fcgi-bin || return 1
install -Dm644 "$srcdir"/$_pkgreal.conf "$pkgdir"/etc/apache2/conf.d/$_pkgreal.conf
rm -fr "$pkgdir"/etc/apache2/original
}
sha512sums="cae8bf8ad324512a51e6f34cb32468ea49a17deaabd481f8b581444891656f2516f10d198630f92ebc18db3d575f61dd7254153938a8206fb6c1441c7850be63 mod_fcgid-2.3.9.tar.gz
e5d7d81905f7cd73b5dbd3baa39c1d84e3c96e3fc3fda41fc52ada1a4353ca5186e53f56d782273d86a858cc9215c72321f34d92643ac176d4232df638a05812 mod_fcgid.conf"
|