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