32 lines
744 B
Bash
32 lines
744 B
Bash
# Template file for 'libhtp'
|
|
pkgname=libhtp
|
|
version=0.5.31
|
|
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=ce16a3e57c7d1f1e8255a4f698e22ddd33c15fb4e737ab90b04c9a1f07e48780
|
|
|
|
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"
|
|
}
|
|
}
|