mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/libhtp: clarify license, modernize
This commit is contained in:
parent
fa8bb1ab72
commit
7c360e98e0
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user