aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmicrohttpd
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-04-07 16:02:37 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-04-09 13:11:02 +0000
commit219eb1680f056251274050dd5a8aa8b54c260719 (patch)
tree3607dc9baf01b8319844d1f2c6d572801ae532e7 /main/libmicrohttpd
parentf8d20933fff13d4c9919223fededa17231f68eb6 (diff)
downloadaports-219eb1680f056251274050dd5a8aa8b54c260719.tar.bz2
aports-219eb1680f056251274050dd5a8aa8b54c260719.tar.xz
main/libmicrohttpd: add check
Diffstat (limited to 'main/libmicrohttpd')
-rw-r--r--main/libmicrohttpd/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index 2869fdde20..42a86020ca 100644
--- a/main/libmicrohttpd/APKBUILD
+++ b/main/libmicrohttpd/APKBUILD
@@ -3,13 +3,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmicrohttpd
pkgver=0.9.59
-pkgrel=0
-pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application."
+pkgrel=1
+pkgdesc="A small C library that is supposed to make it easy to run an HTTP server as part of another application."
url="https://www.gnu.org/software/libmicrohttpd/"
arch="all"
license="GPL"
makedepends="curl-dev libgcrypt-dev gnutls-dev"
-options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
@@ -30,6 +29,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install