void-packages/srcpkgs/libhtp/template
2020-12-08 12:30:55 -05:00

32 lines
744 B
Bash

# Template file for 'libhtp'
pkgname=libhtp
version=0.5.36
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=ab1dd6cfd4ab4c36624a5c74793d80d1b7f50f5791620f47bfd831a79e32bc4b
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"
}
}