wok-next view goaccess/receipt @ rev 21694
updated goaccess (0.6.1 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:33:04 2020 +0100 (2020-06-30) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="goaccess"
4 VERSION="1.4"
5 CATEGORY="network"
6 SHORT_DESC="Visual web log analyzer"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://goaccess.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://tar.goaccess.io/$TARBALL"
14 BUILD_DEPENDS="geoip-dev glib-dev ncurses-dev"
16 compile_rules()
17 {
18 ./configure \
19 --prefix=/usr \
20 --enable-geoip=legacy \
21 --enable-utf8 \
22 || return 1
24 # hack for curses.h path
25 mkdir /usr/include/ncursesw
26 ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
28 make &&
29 make DESTDIR=$install install
31 # and remove hack
32 rm -rf /usr/include/ncursesw
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 DEPENDS="ncurses geoip"
40 }