goaccess: fix cross builds

This commit is contained in:
Duncaen 2017-06-24 21:13:05 +02:00
parent be7ca93573
commit ccf982b12a
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,12 @@
--- Makefile.am.orig
+++ Makefile.am
@@ -60,6 +60,9 @@
appjs.h: bin2c$(EXEEXT) resources/js/app.js
./bin2c resources/js/app.js src/appjs.h app_js
+bin2c$(EXEEXT): src/bin2c.c
+ gcc $< -o $@
+
confdir = $(sysconfdir)
dist_conf_DATA = config/goaccess.conf

View file

@ -3,8 +3,8 @@ pkgname=goaccess
version=1.2
revision=1
build_style=gnu-configure
nocross="Uses built artifacts to continue build https://travis-ci.org/voidlinux/void-packages/jobs/245691122"
configure_args="--enable-utf8 --enable-geoip=legacy"
hostmakedepends="automake"
makedepends="ncurses-devel geoip-devel"
short_desc="An open source real-time web log analyzer and interactive viewer"
maintainer="Bart Kerkvliet <bart@bannarte.nl>"
@ -13,6 +13,9 @@ homepage="https://goaccess.io"
distfiles="http://tar.goaccess.io/${pkgname}-${version}.tar.gz"
checksum=6ba9f66540ea58fc2c17f175265f9ed76d74a8432eeac1182b74ebf4f2cd3414
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
}