diff options
author | David Demelier <markand@malikania.fr> | 2020-01-14 14:54:41 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-01-16 14:14:10 +0100 |
commit | b9fdcd0449c4592a587ff4c98b7cf98180ea6878 (patch) | |
tree | 9ef191ee2b3c3edeedab7ba5ab9fcffc69295dc2 /testing/kcgi | |
parent | 4740309fb6be1f8d6f1b8d2efb416086a73d7ea2 (diff) | |
download | aports-b9fdcd0449c4592a587ff4c98b7cf98180ea6878.tar.bz2 aports-b9fdcd0449c4592a587ff4c98b7cf98180ea6878.tar.xz |
testing/kcgi: new aport
https://kristaps.bsd.lv/kcgi
CGI and FastCGI library for C/C++ web applications
Diffstat (limited to 'testing/kcgi')
-rw-r--r-- | testing/kcgi/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/kcgi/APKBUILD b/testing/kcgi/APKBUILD new file mode 100644 index 0000000000..1b3e77fe95 --- /dev/null +++ b/testing/kcgi/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: David Demelier <markand@malikania.fr> +# Maintainer: David Demelier <markand@malikania.fr> +pkgname="kcgi" +pkgver=0.10.12 +_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="4da4948a4122883cd17bb71c78b169fe707f6ec40e4292c87d005deae860d4b57082b41cfccc66137812c55a8297e6375fb3d6e8b577ab3592b7d504dce2aed0 kcgi-0.10.12.tar.gz" |