wok-6.x view apachetop/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (13 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="apachetop"
4 VERSION="0.23.2"
5 CATEGORY="network"
6 SHORT_DESC="Watches a logfile generated by Apache"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/tessus/apachetop"
11 WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS="gamin pcre2 readline ncurses"
14 BUILD_DEPENDS="gamin-dev pcre2-dev readline-dev ncurses-dev automake libtool"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh
27 ./configure &&
28 make &&
29 make install
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr/
38 }