summaryrefslogtreecommitdiffstats
path: root/main/apache-mod-fcgid/APKBUILD
blob: 9d9833750ebb8cfcc32fe4777e98f375732d138a (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
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer:
pkgname=apache-mod-fcgid
pkgver=2.3.7
pkgrel=0
pkgdesc="FastCGI module for Apache 2.2"
url="http://httpd.apache.org/mod_fcgid/"
arch="all"
license="Apache"
depends=
makedepends="apache2-dev"
install=""
subpackages="$pkgname-doc"
source="http://apache.cyberuse.com//httpd/mod_fcgid/mod_fcgid-$pkgver.tar.bz2
        mod_fcgid.conf
        "

_builddir="$srcdir/mod_fcgid-$pkgver"

build() {
	cd "$_builddir"
	./configure.apxs || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	mkdir "$pkgdir"/etc/apache2/conf.d/ || return 1
	install -m644 "$srcdir"/mod_fcgid.conf "$pkgdir"/etc/apache2/conf.d/ || return 1
}

md5sums="5952c93dc16b42264a4bf2a54757fc08  mod_fcgid-2.3.7.tar.bz2
df658a483cf016112d75bbd1d92d7fb0  mod_fcgid.conf"
sha256sums="4fcfadd2804734cc7a266d8c6044b34a21d5a4a1e2e0c1a882fc59a3e012eb80  mod_fcgid-2.3.7.tar.bz2
df70a611fb6c262b27dfcb46721601395065a876e8f7fa603788af9e60586faf  mod_fcgid.conf"
sha512sums="22dd40ac8eee8ca5a9c34aeea5f24ba0e432655584352a99333ef4e7f2c70e7625a06dfb97787b00f88bb42be0f9735b8c4bd99b4aa1561ab842aabe7bfabd53  mod_fcgid-2.3.7.tar.bz2
13c6ab98bac1733f0e303c30b30ea3b4ecc54d0680c7b936099642143f37a3200237bce3a4f7ff55061af278dd20ba59b695056a7b98057fa1568f74799c8538  mod_fcgid.conf"