diff options
-rw-r--r-- | community/libhtp/APKBUILD | 11 |
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 } |