forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template
26 lines (23 loc) · 769 Bytes
/
template
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
# Template file for 'gatling'
pkgname=gatling
version=0.16
revision=1
build_style=gnu-makefile
make_build_target="gatling dl getlinks"
make_install_args="MANDIR=/usr/share/man"
makedepends="libowfat openssl-devel zlib-devel"
short_desc="High performance web server"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.fefe.de/gatling"
distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz"
checksum=5f96438ee201d7f1f6c2e0849ff273b196bdc7493f29a719ce8ed08c8be6365b
CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon"
pre_build() {
vsed -i GNUmakefile \
-e "s;^CFLAGS=.*;CFLAGS=${CFLAGS};" \
-e "s;\$(CC) \$(LDFLAGS);\$(CC) \$(CFLAGS) \$(LDFLAGS);"
}
pre_install() {
vmkdir usr/share/man/man1
}