mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added community/libmodsecurity
This commit is contained in:
parent
75c0e93292
commit
d79241ab80
1 changed files with 37 additions and 0 deletions
37
community/libmodsecurity/PKGBUILD
Normal file
37
community/libmodsecurity/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# $Id$
|
||||
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build with -fsigned-char
|
||||
|
||||
pkgname=libmodsecurity
|
||||
pkgver=20170611
|
||||
pkgrel=1
|
||||
_commit=20134ef242f374fd37f3224ea98cecded9abd2e2
|
||||
|
||||
pkgdesc='ModSecurity v3 library component'
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('yajl' 'curl' 'libxml2' 'pcre' 'geoip')
|
||||
makedepends=('git')
|
||||
url="https://github.com/SpiderLabs/ModSecurity/tree/v3/master"
|
||||
license=('APACHE')
|
||||
source=("git+https://github.com/SpiderLabs/ModSecurity.git#commit=$_commit")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/ModSecurity
|
||||
git submodule update --init
|
||||
CXXFLAGS+=" -fsigned-char"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/ModSecurity
|
||||
./build.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/ModSecurity
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in a new issue