blob: 730835362d8b7361ff6de266e7675e2f4060090c (
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
|
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=kcgi
pkgver=0.10.13
_pkgver=${pkgver//./_}
pkgrel=0
pkgdesc="CGI and FastCGI library for C/C++ web applications"
url="https://kristaps.bsd.lv/kcgi"
arch="all"
license="ISC"
makedepends="bmake"
checkdepends="curl-dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kristapsdz/kcgi/archive/VERSION_$_pkgver.tar.gz"
builddir="$srcdir/kcgi-VERSION_$_pkgver"
build() {
./configure PREFIX=/usr MANDIR=/usr/share/man SBINDIR=/usr/sbin
bmake
}
check() {
bmake regress
}
package() {
bmake DESTDIR="$pkgdir" install
}
sha512sums="514226891b6603bf55918e0bc2e91144a6d0bef4f41d6533414182711c847ae20c68ff38dc47ca99cdacc6bc634542de90c5cd6baaf381b4888f15c65f759ad7 kcgi-0.10.13.tar.gz"
|