wok-next view tcptrack/receipt @ rev 19718
Up tty-clock (2.3) (thanks Pascal to pointing me right direction :)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 23 14:40:37 2017 +0300 (2017-05-23) |
parents | 3d840ea6007e |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcptrack"
4 VERSION="1.4.2"
5 CATEGORY="network"
6 SHORT_DESC="TCP connection tracker."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://freecode.com/projects/tcptrack"
11 WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/$TARBALL/dacf71a6b5310caf1203a2171b598610/$TARBALL"
13 DEPENDS="ncurses libpcap"
14 BUILD_DEPENDS="ncurses-dev libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/' src/*
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }