33 lines
747 B
Bash
33 lines
747 B
Bash
# Template file for 'libhtp'
|
|
pkgname=libhtp
|
|
version=0.5.30
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
makedepends="zlib-devel"
|
|
short_desc="Security-aware parser for HTTP"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/OISF/libhtp"
|
|
distfiles="https://github.com/OISF/libhtp/archive/${version}.tar.gz"
|
|
checksum=7384f8461ad0431e9247c49b37a73929b284f39408d1f11b80949b188069b638
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|