wok annotate goaccess/receipt @ rev 20982

updated goaccess (0.6.1 -> 1.3)
author Hans-G?nter Theisgen
date Wed Mar 06 17:22:58 2019 +0100 (2019-03-06)
parents ce9148142ee8
children e8291bf6f412
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="goaccess"
Hans-G?nter@20982 4 VERSION="1.3"
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"
Hans-G?nter@20982 9 WEB_SITE="https://goaccess.io"
Hans-G?nter@20982 10
Hans-G?nter@20982 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20982 12 WGET_URL="$WEB_SITE/$TARBALL"
Hans-G?nter@20982 13
pascal@15721 14 DEPENDS="ncurses geoip"
pascal@15721 15 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
pascal@15721 16
pascal@15721 17 # Rules to configure and make the package.
pascal@15721 18 compile_rules()
pascal@15721 19 {
Hans-G?nter@20982 20 ./configure \
Hans-G?nter@20982 21 --prefix=/usr \
Hans-G?nter@20982 22 --enable-geoip \
Hans-G?nter@20982 23 --enable-utf8 &&
Hans-G?nter@20982 24
pascal@15721 25 # hack for curses.h path
pascal@15721 26 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
Hans-G?nter@20982 27
Hans-G?nter@20982 28 make -j 1 &&
pascal@15721 29 make DESTDIR=$DESTDIR install
Hans-G?nter@20982 30
pascal@15721 31 # and remove hack
pascal@15721 32 rm -rf /usr/include/ncursesw
pascal@15721 33 }
pascal@15721 34
pascal@15721 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 36 genpkg_rules()
pascal@15721 37 {
pascal@15721 38 mkdir -p $fs/usr
pascal@15721 39 cp -a $install/usr/bin $fs/usr
pascal@15721 40 }