wok view tcptrack/receipt @ rev 24318

updated adwaita-icon-theme (3.34.3 -> 41.0)
author Hans-G?nter Theisgen
date Tue Jan 25 14:40:52 2022 +0100 (2022-01-25)
parents 3dee29a5455c
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="tcptrack"
4 VERSION="1.4.3"
5 CATEGORY="network"
6 SHORT_DESC="TCP connection tracker."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2.1"
9 WEB_SITE="https://github.com/bchretien/tcptrack"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 DEPENDS="libpcap ncurses"
15 BUILD_DEPENDS="libpcap-dev ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }