Mail archive
alpine-aports

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

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

---
 main/libmicrohttpd/APKBUILD | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/main/libmicrohttpd/APKBUILD b/main/libmicrohttpd/APKBUILD
index 37ed51f246fe..95e1cf301bad 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,9 +32,9 @@ 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
 }
 
-- 
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:06:50 GMT