wok-6.x view iptraf-ng/receipt @ rev 25144
updated plymouth (0.9.4 -> 0.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:52:59 2022 +0100 (2022-06-29) |
parents | 544e47246b33 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptraf-ng"
4 VERSION="1.2.1"
5 CATEGORY="network"
6 SHORT_DESC="IP Network Monitoring Software."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://fedorahosted.org/iptraf-ng/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
13 PROVIDE="iptraf"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncurses-dev"
17 CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/iptraf-ng/iptraf-ng/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -lrt"
31 make \
32 LDFLAGS="$LDFLAGS" \
33 DESTDIR=$DESTDIR \
34 prefix=/usr &&
35 make install \
36 DESTDIR=$DESTDIR \
37 prefix=/usr
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/var/log/iptraf-ng
44 cp -a $install/usr/sbin $fs
45 }