wok-current view goaccess/receipt @ rev 19870
linld: fix progname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 15:54:03 2017 +0200 (2017-03-30) |
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 }