wok view apachetop/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (4 months ago)
parents f40d97a52c42
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }