mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/libhtp: Move from testing to community
This commit is contained in:
parent
85252d1467
commit
3f3f3acd64
@ -7,10 +7,10 @@ pkgdesc="HTTP normalizer and parser library"
|
||||
url="https://github.com/OISF/libhtp"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
depends="zlib"
|
||||
# the zlib-dev dependency is not listed in the .pc file but the headers
|
||||
# needs zlib.h, so we add explicit to depends_dev
|
||||
depends_dev="zlib-dev"
|
||||
makedepends="automake autoconf libtool zlib-dev"
|
||||
install=""
|
||||
makedepends="$depends_dev automake autoconf libtool"
|
||||
subpackages="$pkgname-dev"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.tar.gz
|
||||
"
|
||||
@ -18,7 +18,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
build() {
|
||||
cd "$builddir"
|
||||
autoreconf -vif || return 1
|
||||
autoreconf -vif
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -27,11 +27,16 @@ build() {
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var \
|
||||
|| return 1
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
sha512sums="130e4af4c7b3d949472eb355334cb719d6792b57be41b847ee1aaaaf18aaf678dbef8137adc1567ec09bcef5ca6eb45d113776503173a7225e68a708c750ee21 libhtp-0.5.25.tar.gz"
|
Loading…
Reference in New Issue
Block a user