summaryrefslogtreecommitdiffstats
path: root/main/spawn-fcgi/APKBUILD
blob: f692c30f97f1247ca65ffc21205442bb01922e05 (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
40
41
42
43
44
45
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=spawn-fcgi
pkgver=1.6.4
pkgrel=0
pkgdesc="Spawn FastCGI applications"
url="http://redmine.lighttpd.net/projects/spawn-fcgi/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.lighttpd.net/download/$pkgname-$pkgver.tar.bz2
	spawn-fcgi.confd
	spawn-fcgi.initd
"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure --prefix=/usr && \
		make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install

	install -D -m755 "$srcdir"/spawn-fcgi.initd \
		"$pkgdir"/etc/init.d/spawn-fcgi
	install -D -m644 "$srcdir"/spawn-fcgi.confd \
		"$pkgdir"/etc/conf.d/spawn-fcgi
}

md5sums="bf269849995ab8b3a8989779fa5818aa  spawn-fcgi-1.6.4.tar.bz2
42da2b0171adc061feafd07c4986f4bb  spawn-fcgi.confd
05a5355fe979f5dccfcc1f8cf4545c56  spawn-fcgi.initd"
sha256sums="a3cfc7c9581b6ddc31084b379c9160323fa345d357ace6cd2d3d3af3593e2873  spawn-fcgi-1.6.4.tar.bz2
40719f81ae37421948592b379ff37d9144c728cc7a57042df8f469835c90fe03  spawn-fcgi.confd
d99cba1f93bc8c7b54fd763281260f0765b63b6d2fc980bed1246c9397b13d2e  spawn-fcgi.initd"
sha512sums="defe3b0e21952f6a852237f4677b446757bd0dbccc6609beb2094c59b12de7814a76525554731ad3b52d10060bb0b4060b4f5c4fc3e14cd35f59c30cc583b6b9  spawn-fcgi-1.6.4.tar.bz2
d6a3020ea440366f5dc6a0ec36e0807817537859b1ec5f47d5f2e584d66e5d241cd7989992bac86c1e253ba3358155d93712d0e534c973e0603d9cc7df6544b0  spawn-fcgi.confd
5030efb495f19e833d4a53e99e860fac51ebfc43f3b59916bab1bee103e188dd0cf1a383fb3282101eb97279ead8054fa7ffb28ac2eaa34e94780e4125a87e06  spawn-fcgi.initd"