wok-6.x diff modsecurity-apache/receipt @ rev 17897
Add: perltidy
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Apr 02 22:07:09 2015 +0000 (2015-04-02) |
parents | |
children | 20b4935ebb5d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/modsecurity-apache/receipt Thu Apr 02 22:07:09 2015 +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 +}