aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmicrohttpd/APKBUILD
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2017-01-14 15:06:50 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-16 08:43:21 +0000
commit68aa67b84f79eb0fc5addd249a81b39962a98f66 (patch)
tree1183070047b6c3b8bcd761dd5c2517e81d7823b7 /main/libmicrohttpd/APKBUILD
parent3f050d482d55c3f8e9d474846add6ee3b1d15e25 (diff)
downloadaports-68aa67b84f79eb0fc5addd249a81b39962a98f66.tar.bz2
aports-68aa67b84f79eb0fc5addd249a81b39962a98f66.tar.xz
main/libmicrohttpd: Upgrade to 0.9.52. Modernize APKBUILD.
Diffstat (limited to 'main/libmicrohttpd/APKBUILD')
-rw-r--r--main/libmicrohttpd/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index 37ed51f246..c745bec18a 100644
--- a/main/libmicrohttpd/APKBUILD
+++ b/main/libmicrohttpd/APKBUILD
@@ -2,21 +2,20 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmicrohttpd
-pkgver=0.9.50
+pkgver=0.9.52
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"
-depends=""
makedepends="curl-dev libgcrypt-dev gnutls-dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,12 +32,12 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
- install -Dm644 "$_builddir"/src/include/platform.h \
+ install -Dm644 "$builddir"/src/include/platform.h \
"$pkgdir"/usr/include/platform.h || return 1
}
-md5sums="4a3f793d59f663a2b0fc62d44668fb66 libmicrohttpd-0.9.50.tar.gz"
-sha256sums="d1b6385068abded29b6470e383287aa7705de05ae3c08ad0bf5747ac4dc6ebd7 libmicrohttpd-0.9.50.tar.gz"
-sha512sums="55530314cae84e883df302ac2bc61d8dd9accc729d5b67b9a173e34aa11a76b244534c94416d5db613f9cdfc642c71b6caa3e707e3db7634660887e610181f42 libmicrohttpd-0.9.50.tar.gz"
+md5sums="767111e817e2497ff92f943c5653497a libmicrohttpd-0.9.52.tar.gz"
+sha256sums="54797f6e763d417627f89f60e4ae0a431dab0523f92f83def23ea02d0defafea libmicrohttpd-0.9.52.tar.gz"
+sha512sums="2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4 libmicrohttpd-0.9.52.tar.gz"