diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-18 06:59:42 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-18 06:59:42 +0000 |
commit | 0b8be0e4e0c1ed30fb08c321ba9964e6cc15ec5a (patch) | |
tree | 29a38c6650cf38cb2be289ad6d0bf22555ee8dd5 | |
parent | 50f41e51bcdbc1d1ca013307a1c7cc62917794d4 (diff) | |
download | aports-0b8be0e4e0c1ed30fb08c321ba9964e6cc15ec5a.tar.bz2 aports-0b8be0e4e0c1ed30fb08c321ba9964e6cc15ec5a.tar.xz |
main/libmicrohttpd: upgrade to 0.9.53, modernize APKBUILD
-rw-r--r-- | main/libmicrohttpd/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD index c745bec18a..6cdf20b3f7 100644 --- a/main/libmicrohttpd/APKBUILD +++ b/main/libmicrohttpd/APKBUILD @@ -2,16 +2,16 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libmicrohttpd -pkgver=0.9.52 +pkgver=0.9.53 pkgrel=0 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." url="http://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 build() { @@ -26,18 +26,15 @@ build() { --enable-largefile \ --enable-curl \ --enable-https \ - --enable-messages \ - || return 1 - make || return 1 + --enable-messages + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 "$builddir"/src/include/platform.h \ - "$pkgdir"/usr/include/platform.h || return 1 + "$pkgdir"/usr/include/platform.h } -md5sums="767111e817e2497ff92f943c5653497a libmicrohttpd-0.9.52.tar.gz" -sha256sums="54797f6e763d417627f89f60e4ae0a431dab0523f92f83def23ea02d0defafea libmicrohttpd-0.9.52.tar.gz" -sha512sums="2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4 libmicrohttpd-0.9.52.tar.gz" +sha512sums="2e29595c980cdcf12c1cead62f8938cc32e8c93d3a848e7473c5d5f596c6b6858732df0a3293b93d89577e5a325a62fe82adf3921a76d7184a647489364d7e2c libmicrohttpd-0.9.53.tar.gz" |