void-packages/srcpkgs/libhtp/template

33 lines
744 B
Bash

# Template file for 'libhtp'
pkgname=libhtp
version=0.5.32
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="zlib-devel"
short_desc="Security-aware parser for HTTP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/OISF/libhtp"
distfiles="https://github.com/OISF/libhtp/archive/${version}.tar.gz"
checksum=a6a6f3b3f1fb6e8b8a1dae02db8a0090c438f0d057102dd8e52208224868c4e4
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"
}
}