wok-6.x view tcptrack/receipt @ rev 24066
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:00:07 2021 +0000 (2021-07-05) |
parents | d3eb5f4b53ea |
children | b569b85b0fb9 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -ltinfo"
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }