wok view goaccess/receipt @ rev 24550
updated firejail (0.9.62 -> 0.9.68)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 09:28:16 2022 +0100 (2022-02-25) |
parents | e8291bf6f412 |
children | 089bb2dd630f |
line source
1 # SliTaz package receipt.
3 PACKAGE="goaccess"
4 VERSION="1.3"
5 CATEGORY="network"
6 SHORT_DESC="Visual web log analyzer."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://goaccess.io"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://tar.goaccess.io/$TARBALL"
14 DEPENDS="ncurses geoip"
15 BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://goaccess.io/download 2>/dev/null | \
21 sed '/goaccess-[0-9]/!d;s|.*goaccess-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --enable-geoip \
30 --enable-utf8 &&
32 # hack for curses.h path
33 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
38 # and remove hack
39 rm -rf /usr/include/ncursesw
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 }