wok-next view goaccess/receipt @ rev 19143
Up miro (6.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 12:10:21 2016 +0200 (2016-05-19) |
parents | |
children | d43bf7aae921 |
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 pkg-config"
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 }