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