aboutsummaryrefslogtreecommitdiffstats
path: root/main/spawn-fcgi/APKBUILD
blob: 06533159ab4a8e34e235eb0a35b5a371c08fff74 (plain) (blame)
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=1
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
ba72173b3d2ba32822a5241f90097650  spawn-fcgi.initd"
sha256sums="a3cfc7c9581b6ddc31084b379c9160323fa345d357ace6cd2d3d3af3593e2873  spawn-fcgi-1.6.4.tar.bz2
40719f81ae37421948592b379ff37d9144c728cc7a57042df8f469835c90fe03  spawn-fcgi.confd
210ac4e64c8fdc9efa19b3bfe6ab51b2ab0690afedd01f4dd205339c688bfa77  spawn-fcgi.initd"
sha512sums="defe3b0e21952f6a852237f4677b446757bd0dbccc6609beb2094c59b12de7814a76525554731ad3b52d10060bb0b4060b4f5c4fc3e14cd35f59c30cc583b6b9  spawn-fcgi-1.6.4.tar.bz2
d6a3020ea440366f5dc6a0ec36e0807817537859b1ec5f47d5f2e584d66e5d241cd7989992bac86c1e253ba3358155d93712d0e534c973e0603d9cc7df6544b0  spawn-fcgi.confd
f80d9f9e21659da4a8cb2dfacc24678229df066116585f2031f0f55955b1d29a24b94b1076fc0f65b7892aa27d149af5352231bade0bc0b945bd94999321d71a  spawn-fcgi.initd"