wok-current annotate goaccess/receipt @ rev 23244
updated ninja (1.9.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:19:28 2020 +0100 (2020-03-25) |
parents | a05e21d8a8d2 |
children | d8c511e24c20 |
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@20983 | 12 WGET_URL="https://tar.goaccess.io/$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 } |