wok-next view goaccess/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d43bf7aae921 |
children | fb8e206abe34 |
line source
1 # SliTaz package receipt.
3 PACKAGE="goaccess"
4 VERSION="0.6.1"
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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --enable-geoip \
20 --enable-utf8 \
21 || return 1
23 # hack for curses.h path
24 mkdir /usr/include/ncursesw
25 ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
27 make &&
28 make DESTDIR=$install install
30 # and remove hack
31 rm -rf /usr/include/ncursesw
32 }
34 genpkg_rules() {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 DEPENDS="ncurses geoip"
38 }