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"
|
url="https://github.com/OISF/libhtp"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD"
|
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"
|
depends_dev="zlib-dev"
|
||||||
makedepends="automake autoconf libtool zlib-dev"
|
makedepends="$depends_dev automake autoconf libtool"
|
||||||
install=""
|
|
||||||
subpackages="$pkgname-dev"
|
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
|
||||||
"
|
"
|
||||||
@ -18,7 +18,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.
|
|||||||
builddir="$srcdir/$pkgname-$pkgver"
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
autoreconf -vif || return 1
|
autoreconf -vif
|
||||||
./configure \
|
./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
@ -27,11 +27,16 @@ build() {
|
|||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|| return 1
|
|| return 1
|
||||||
make || return 1
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
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"
|
sha512sums="130e4af4c7b3d949472eb355334cb719d6792b57be41b847ee1aaaaf18aaf678dbef8137adc1567ec09bcef5ca6eb45d113776503173a7225e68a708c750ee21 libhtp-0.5.25.tar.gz"
|
Loading…
Reference in New Issue
Block a user