blob: 3274f8173a14a0f321fc2c5c61e7206999e5b23e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Steve McMaster <code@mcmaster.io>
# Maintainer: Steve McMaster <code@mcmaster.io>
pkgname=libhtp
pkgver=0.5.23
pkgrel=0
pkgdesc="HTTP normalizer and parser library"
url="https://github.com/OISF/libhtp"
arch="all"
license="BSD"
depends="zlib"
depends_dev="zlib-dev"
makedepends="automake autoconf libtool zlib-dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/OISF/libhtp/archive/$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
autoreconf -vif || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="5a0a9e2f8ee47b5f9293ea28cda28540 libhtp-0.5.23.tar.gz"
sha256sums="b511ee90a92f7c7d984f8a3ad973244095b7377b866db8a32d652c9c59f57d93 libhtp-0.5.23.tar.gz"
sha512sums="df1772fead1f108cb8941f461e9b293c75cd64da698c192c049c6f494aa8640e3fa7c54dbb9c5a61940190ab98afe1cbf3da3cca121bb90991bcdaff7c0bbedf libhtp-0.5.23.tar.gz"
|