wok-current view goaccess/receipt @ rev 15742
Up: tazdev and tazwikiss (match slitaz-dev-tools Hg tag)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 02 14:50:15 2014 +0100 (2014-01-02) |
parents | |
children | a05e21d8a8d2 |
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 }