wok view goaccess/receipt @ rev 24486
updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 16:54:18 2022 +0100 (2022-02-18) |
parents | a05e21d8a8d2 |
children | d8c511e24c20 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --enable-geoip \
23 --enable-utf8 &&
25 # hack for curses.h path
26 mkdir /usr/include/ncursesw && ln -s /usr/include/curses.h /usr/include/ncursesw/curses.h
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
31 # and remove hack
32 rm -rf /usr/include/ncursesw
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }