2019-03-11 00:59:49 +00:00
|
|
|
# Template file for 'libhtp'
|
|
|
|
pkgname=libhtp
|
|
|
|
version=0.5.30
|
2019-03-11 01:10:21 +00:00
|
|
|
revision=2
|
2019-03-11 00:59:49 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
makedepends="zlib-devel"
|
|
|
|
short_desc="Security-aware parser for HTTP"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
2019-03-11 01:10:21 +00:00
|
|
|
license="BSD-3-Clause"
|
2019-03-11 00:59:49 +00:00
|
|
|
homepage="https://github.com/OISF/libhtp"
|
|
|
|
distfiles="https://github.com/OISF/libhtp/archive/${version}.tar.gz"
|
|
|
|
checksum=7384f8461ad0431e9247c49b37a73929b284f39408d1f11b80949b188069b638
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2019-03-11 01:10:21 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
2019-03-11 00:59:49 +00:00
|
|
|
libhtp-devel_package() {
|
|
|
|
depends="libhtp-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|