wok view goaccess/receipt @ rev 20982
updated goaccess (0.6.1 -> 1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 06 17:22:58 2019 +0100 (2019-03-06) |
parents | ce9148142ee8 |
children | e8291bf6f412 |
line source
1 # SliTaz package receipt.
3 PACKAGE="goaccess"
4 VERSION="1.3"
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="$WEB_SITE/$TARBALL"
14 DEPENDS="ncurses geoip"
15 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --enable-geoip \
23 --enable-utf8 &&
25 # hack for curses.h path
26 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
31 # and remove hack
32 rm -rf /usr/include/ncursesw
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }