blob: 3695098aaaa19a575ac0fb2375c6e84666b5c208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Tony Lambiris <tony@libpcap.net>
pkgname=libevhtp-git
pkgver=1.2.18.r10.gf78d0a8
pkgrel=1
pkgdesc="A replacement API for Libevent's current HTTP API."
arch=('i686' 'x86_64')
url="https://github.com/criticalstack/libevhtp"
license=('BSD')
depends=('git')
makedepends=('gcc' 'libevent' 'openssl-1.0')
source=("${pkgname}::git+https://github.com/criticalstack/libevhtp.git#branch=develop")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}
build() {
cd "${pkgname}/build"
#cmake -Wno-dev .. \
# -DCMAKE_INSTALL_PREFIX=/usr \
# -DOPENSSL_INCLUDE_DIR="/usr/include/openssl-1.0"
cmake -Wno-dev .. \
-DCMAKE_INSTALL_PREFIX=/usr
make ${MAKEFLAGS} all
}
package() {
cd "${pkgname}/build"
make DESTDIR="${pkgdir}" install
}
|