wok-next view goaccess/receipt @ rev 20816

palemoon: try 2: fatal error: sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 19:56:44 2018 +0000 (2018-06-13)
parents ce9148142ee8
children d5aab818505e
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 DEPENDS="ncurses geoip"
10 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://goaccess.prosoftcorp.com/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --enable-geoip --enable-utf8
20 # hack for curses.h path
21 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
22 make
23 make DESTDIR=$DESTDIR install
24 # and remove hack
25 rm -rf /usr/include/ncursesw
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }