wok-current annotate modsecurity-apache/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | |
children | 20b4935ebb5d |
rev | line source |
---|---|
pascal@15889 | 1 # SliTaz package receipt. |
pascal@15889 | 2 |
pascal@15889 | 3 PACKAGE="modsecurity-apache" |
pascal@15889 | 4 VERSION="2.7.7" |
pascal@15889 | 5 CATEGORY="network" |
pascal@15889 | 6 SHORT_DESC="Web application firewall engine." |
pascal@15889 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15889 | 8 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
pascal@15889 | 9 LICENSE="Apache" |
pascal@15889 | 10 WEB_SITE="https://www.modsecurity.org/" |
pascal@15889 | 11 WGET_URL="$WEB_SITE/tarball/$VERSION/$TARBALL" |
pascal@15889 | 12 |
pascal@15889 | 13 DEPENDS="apache apr apr-util pcre util-linux-uuid curl zlib libssl" |
pascal@15889 | 14 BUILD_DEPENDS="wget apache-dev apr-dev apr-util-dev pcre-dev libxml2-dev \ |
pascal@15889 | 15 util-linux-uuid-dev curl-dev" |
pascal@15889 | 16 |
pascal@15889 | 17 # Rules to configure and make the package. |
pascal@15889 | 18 compile_rules() |
pascal@15889 | 19 { |
pascal@15889 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@15889 | 21 make && make DESTDIR=$DESTDIR install |
pascal@15889 | 22 } |
pascal@15889 | 23 |
pascal@15889 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15889 | 25 genpkg_rules() |
pascal@15889 | 26 { |
pascal@15889 | 27 cp -a $install/* $fs |
pascal@15889 | 28 } |