wok-current rev 15889
Add modsecurity-apache
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 10 16:22:19 2014 +0000 (2014-02-10) |
parents | d3305b8b397e |
children | 51823aded9b1 |
files | modsecurity-apache/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/modsecurity-apache/receipt Mon Feb 10 16:22:19 2014 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="modsecurity-apache" 1.7 +VERSION="2.7.7" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Web application firewall engine." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.12 +LICENSE="Apache" 1.13 +WEB_SITE="https://www.modsecurity.org/" 1.14 +WGET_URL="$WEB_SITE/tarball/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="apache apr apr-util pcre util-linux-uuid curl zlib libssl" 1.17 +BUILD_DEPENDS="wget apache-dev apr-dev apr-util-dev pcre-dev libxml2-dev \ 1.18 +util-linux-uuid-dev curl-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./configure --prefix=/usr $CONFIGURE_ARGS && 1.24 + make && make DESTDIR=$DESTDIR install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/* $fs 1.31 +}