void-packages/srcpkgs/modsecurity/template

29 lines
858 B
Bash
Raw Normal View History

2018-06-05 03:39:01 +02:00
# Template file for 'modsecurity'
pkgname=modsecurity
version=2.9.2
2018-08-28 12:17:02 +02:00
revision=3
2018-06-05 03:39:01 +02:00
build_style=gnu-configure
configure_args="--enable-standalone-module --enable-htaccess-config"
hostmakedepends="automake libtool pkg-config"
makedepends="apache-devel gdbm-devel libcurl-devel libxml2-devel lua-devel
pcre-devel yajl-devel"
depends="perl-LWP"
short_desc="Rule based web application firwall (WAF)"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://www.modsecurity.org"
distfiles="https://github.com/SpiderLabs/ModSecurity/releases/download/v${version}/modsecurity-${version}.tar.gz"
checksum=41a8f73476ec891f3a9e8736b98b64ea5c2105f1ce15ea57a1f05b4bf2ffaeb5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" $makedepends"
fi
pre_configure() {
./autogen.sh
}
pre_build() {
sed -ri 's|(hardcode_into_libs)=.*|\1=no|' libtool
}