wok-current view goaccess/receipt @ rev 25128
updated cgdb (0.7.1 -> 0.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 17:15:25 2022 +0100 (2022-06-28) |
parents | d8c511e24c20 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="goaccess"
4 VERSION="1.5.5"
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="geoip ncurses"
15 BUILD_DEPENDS="geoip-dev glib-dev ncurses-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=legacy \
30 --enable-utf8 &&
32 # 1.5.5 not needed
33 # hack for curses.h path
34 # mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
36 make &&
37 make install DESTDIR=$DESTDIR
39 # and remove hack
40 # rm -rf /usr/include/ncursesw
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 }