void-packages/srcpkgs/modsecurity/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

27 lines
929 B
Bash

# Template file for 'modsecurity'
pkgname=modsecurity
version=3.0.3
revision=2
wrksrc="modsecurity-v${version}"
build_style=gnu-configure
configure_args="--enable-standalone-module --enable-htaccess-config"
hostmakedepends="pkg-config"
makedepends="apache-devel gdbm-devel libcurl-devel libxml2-devel lua-devel
pcre-devel yajl-devel lmdb-devel"
depends="perl-LWP"
short_desc="Rule based web application firwall (WAF)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://www.modsecurity.org"
distfiles="https://github.com/SpiderLabs/ModSecurity/releases/download/v${version}/modsecurity-v${version}.tar.gz"
checksum=8aa1300105d8cc23315a5e54421192bc617a66246ad004bd89e67c232208d0f4
nocross="configure: error: cannot check for file existence when cross compiling"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" $makedepends"
fi
pre_build() {
sed -ri 's|(hardcode_into_libs)=.*|\1=no|' libtool
}