aboutsummaryrefslogtreecommitdiffstats
path: root/main/fcgiwrap/APKBUILD
blob: 44fc3fc96434a01662e0c885fdcbb3f932ab90bb (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
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=fcgiwrap
pkgver=1.1.0
pkgrel=0
pkgdesc="Simple server for running CGI applications over FastCGI"
url="https://nginx.localdomain.pl/wiki/FcgiWrap"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev autoconf libtool automake fcgi-dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/gnosek/$pkgname/archive/$pkgver.tar.gz"

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

build() {
	cd "$_builddir"

	autoreconf --install && \
		./configure --prefix=/usr --mandir=/share/man --sbindir=/bin && \
		make
}

package() {
	cd "$_builddir"

	make DESTDIR="$pkgdir" install
}

md5sums="d14f56bda6758a6e02aa7b3fb125cbce  fcgiwrap-1.1.0.tar.gz"
sha256sums="4c7de0db2634c38297d5fcef61ab4a3e21856dd7247d49c33d9b19542bd1c61f  fcgiwrap-1.1.0.tar.gz"
sha512sums="b8d35762d1d3c94a67602290b0092f0c38cffbbcd3dbc16597abf8b92172909b04450c238de2e430e841a17dd47fdd48d6a001f77539966980ef1af61e447ddc  fcgiwrap-1.1.0.tar.gz"