From 7c360e98e08b155db68bdedf7a35c4c85691d8d8 Mon Sep 17 00:00:00 2001 From: prspkt Date: Mon, 11 Mar 2019 19:58:39 +0200 Subject: [PATCH] community/libhtp: clarify license, modernize --- community/libhtp/APKBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/community/libhtp/APKBUILD b/community/libhtp/APKBUILD index 082798cd27d..bc758f50d68 100644 --- a/community/libhtp/APKBUILD +++ b/community/libhtp/APKBUILD @@ -6,15 +6,11 @@ pkgrel=0 pkgdesc="HTTP normalizer and parser library" url="https://github.com/OISF/libhtp" arch="all" -license="BSD" -# the zlib-dev dependency is not listed in the .pc file but the headers -# needs zlib.h, so we add explicit to depends_dev +license="BSD-3-Clause" depends_dev="zlib-dev" makedepends="$depends_dev automake autoconf libtool" subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.tar.gz -" - +source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" @@ -25,8 +21,7 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 + --localstatedir=/var make }