void-packages/srcpkgs/libhtp/template

29 lines
713 B
Bash
Raw Normal View History

2019-03-11 00:59:49 +00:00
# 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"
}
}