mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/libmicrohttpd: add check
This commit is contained in:
parent
f8d20933ff
commit
219eb1680f
@ -3,13 +3,12 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=libmicrohttpd
|
pkgname=libmicrohttpd
|
||||||
pkgver=0.9.59
|
pkgver=0.9.59
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application."
|
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/"
|
url="https://www.gnu.org/software/libmicrohttpd/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL"
|
license="GPL"
|
||||||
makedepends="curl-dev libgcrypt-dev gnutls-dev"
|
makedepends="curl-dev libgcrypt-dev gnutls-dev"
|
||||||
options="!check"
|
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
subpackages="$pkgname-dev $pkgname-doc"
|
||||||
source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"
|
source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir"/$pkgname-$pkgver
|
builddir="$srcdir"/$pkgname-$pkgver
|
||||||
@ -30,6 +29,11 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
Loading…
Reference in New Issue
Block a user