wok-6.x annotate goaccess/receipt @ rev 17252

claws-mail: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 14:21:26 2014 +0200 (2014-10-19)
parents
children a05e21d8a8d2
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="goaccess"
pascal@15721 4 VERSION="0.6.1"
pascal@15721 5 CATEGORY="network"
pascal@15721 6 SHORT_DESC="Visual web log analyzer."
pascal@15721 7 MAINTAINER="paul@slitaz.org"
pascal@15721 8 LICENSE="GPL2"
pascal@15721 9 DEPENDS="ncurses geoip"
pascal@15721 10 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
pascal@15721 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15721 12 WEB_SITE="http://goaccess.prosoftcorp.com/"
pascal@15721 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15721 14
pascal@15721 15 # Rules to configure and make the package.
pascal@15721 16 compile_rules()
pascal@15721 17 {
pascal@15721 18 cd $src
pascal@15721 19 ./configure --prefix=/usr --enable-geoip --enable-utf8
pascal@15721 20 # hack for curses.h path
pascal@15721 21 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
pascal@15721 22 make
pascal@15721 23 make DESTDIR=$DESTDIR install
pascal@15721 24 # and remove hack
pascal@15721 25 rm -rf /usr/include/ncursesw
pascal@15721 26
pascal@15721 27 }
pascal@15721 28
pascal@15721 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 30 genpkg_rules()
pascal@15721 31 {
pascal@15721 32 mkdir -p $fs/usr
pascal@15721 33 cp -a $install/usr/bin $fs/usr
pascal@15721 34 }
pascal@15721 35