wok-6.x annotate tcptrack/receipt @ rev 23806
linld: add isoboot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 24 16:16:52 2020 +0000 (2020-05-24) |
parents | d3eb5f4b53ea |
children | b569b85b0fb9 |
rev | line source |
---|---|
paul@16354 | 1 # SliTaz package receipt. |
paul@16354 | 2 |
paul@16354 | 3 PACKAGE="tcptrack" |
Hans-G?nter@22014 | 4 VERSION="1.4.3" |
paul@16354 | 5 CATEGORY="network" |
paul@16354 | 6 SHORT_DESC="TCP connection tracker." |
paul@16354 | 7 MAINTAINER="paul@slitaz.org" |
paul@16354 | 8 LICENSE="GPL2.1" |
Hans-G?nter@22014 | 9 WEB_SITE="https://github.com/bchretien/tcptrack/" |
Hans-G?nter@22014 | 10 |
paul@16354 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22014 | 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" |
paul@16354 | 13 |
Hans-G?nter@22014 | 14 DEPENDS="libpcap ncurses" |
Hans-G?nter@22014 | 15 BUILD_DEPENDS="libpcap-dev ncurses-dev" |
paul@16354 | 16 |
paul@16354 | 17 # Rules to configure and make the package. |
paul@16354 | 18 compile_rules() |
paul@16354 | 19 { |
pascal@17672 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@22014 | 21 |
Hans-G?nter@22014 | 22 ./configure \ |
Hans-G?nter@22014 | 23 --prefix=/usr \ |
Hans-G?nter@22014 | 24 --mandir=/usr/share/man \ |
paul@16354 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@22014 | 26 make && |
Hans-G?nter@22014 | 27 make DESTDIR=$DESTDIR install |
paul@16354 | 28 } |
paul@16354 | 29 |
paul@16354 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16354 | 31 genpkg_rules() |
paul@16354 | 32 { |
paul@16354 | 33 mkdir -p $fs/usr |
paul@16354 | 34 cp -a $install/usr/bin $fs/usr |
paul@16354 | 35 } |