summaryrefslogtreecommitdiffstats
path: root/testing/apache-mod-fcgid/APKBUILD
blob: 7f9c1d7c6e1849265edd89ab34ccd78e6fb31e7c (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
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer:
pkgname=apache-mod-fcgid
pkgver=2.3.6
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="30ee138f3f0eb1c55303400748f128a2  mod_fcgid-2.3.6.tar.bz2
df658a483cf016112d75bbd1d92d7fb0  mod_fcgid.conf"