aboutsummaryrefslogtreecommitdiffstats
path: root/community/libhtp
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-03-11 19:58:39 +0200
committerprspkt <prspkt@protonmail.com>2019-03-11 20:15:50 +0200
commit7c360e98e08b155db68bdedf7a35c4c85691d8d8 (patch)
treee6c09d2ec4bbf76cf10757c303957aa1f34b663b /community/libhtp
parentfa8bb1ab728fd9c90e4ac329e47acd12d3f31e80 (diff)
downloadaports-7c360e98e08b155db68bdedf7a35c4c85691d8d8.tar.bz2
aports-7c360e98e08b155db68bdedf7a35c4c85691d8d8.tar.xz
community/libhtp: clarify license, modernize
Diffstat (limited to 'community/libhtp')
-rw-r--r--community/libhtp/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/community/libhtp/APKBUILD b/community/libhtp/APKBUILD
index 082798cd27..bc758f50d6 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
}