# Template file for 'gatling' pkgname=gatling version=0.16 revision=1 build_style=gnu-makefile make_build_target="gatling dl getlinks" make_install_args="prefix=/usr MANDIR=/usr/share/man" makedepends="libowfat openssl-devel zlib-devel" short_desc="High performance web server" maintainer="Enno Boland " 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 }