aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache-mod-fcgid/APKBUILD
blob: 4411b8cd5324b5c73ed4316718fee0b4268b4486 (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
36
37
38
39
# 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=1
pkgdesc="FastCGI module for Apache 2.x"
url="http://httpd.apache.org/$_pkgreal/"
arch="all"
license="ASL 2.0"
depends="apache2"
makedepends="apache2-dev"
install=""
subpackages="$pkgname-doc"
source="http://mirror.switch.ch/mirror/apache/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
}

md5sums="ece4c66f0c05d216fc96969fcf3d1add  mod_fcgid-2.3.9.tar.gz
3f4288dad895b6fc65af87d0af3d34bd  mod_fcgid.conf"
sha256sums="1cbad345e3376b5d7c8f9a62b471edd7fa892695b90b79502f326b4692a679cf  mod_fcgid-2.3.9.tar.gz
c6df3eb47fb9e6a81a066a83ae8c11a8a796dc6e83b23eb47c7903d406bade22  mod_fcgid.conf"
sha512sums="cae8bf8ad324512a51e6f34cb32468ea49a17deaabd481f8b581444891656f2516f10d198630f92ebc18db3d575f61dd7254153938a8206fb6c1441c7850be63  mod_fcgid-2.3.9.tar.gz
e5d7d81905f7cd73b5dbd3baa39c1d84e3c96e3fc3fda41fc52ada1a4353ca5186e53f56d782273d86a858cc9215c72321f34d92643ac176d4232df638a05812  mod_fcgid.conf"