community/libhtp: clarify license, modernize

This commit is contained in:
prspkt 2019-03-11 19:58:39 +02:00
parent fa8bb1ab72
commit 7c360e98e0
No known key found for this signature in database
GPG Key ID: 24BA3D41BDA6E870

View File

@ -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
}