Mail archive
alpine-aports

[alpine-aports] [PATCH v2] main/libmicrohttpd: Upgrade to 0.9.52. Modernize APKBUILD.

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
Date: Sat, 14 Jan 2017 15:27:18 +0100

---
Changes since v1:
- I forgot to amend commit with regenerated checksums.
 main/libmicrohttpd/APKBUILD | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index 37ed51f246fe..c745bec18ac4 100644
--- a/main/libmicrohttpd/APKBUILD
+++ b/main/libmicrohttpd/APKBUILD
_at_@ -2,21 +2,20 @@
 # Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_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 \
_at_@ -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"
-- 
2.8.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Jan 14 2017 - 15:27:18 GMT