wok-next annotate tcptrack/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | 3d840ea6007e |
children | d5aab818505e |
rev | line source |
---|---|
paul@16354 | 1 # SliTaz package receipt. |
paul@16354 | 2 |
paul@16354 | 3 PACKAGE="tcptrack" |
paul@16354 | 4 VERSION="1.4.2" |
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" |
paul@16354 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@16354 | 10 WEB_SITE="http://freecode.com/projects/tcptrack" |
pascal@17869 | 11 WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/$TARBALL/dacf71a6b5310caf1203a2171b598610/$TARBALL" |
paul@16354 | 12 |
paul@16354 | 13 DEPENDS="ncurses libpcap" |
paul@16354 | 14 BUILD_DEPENDS="ncurses-dev libpcap-dev" |
paul@16354 | 15 |
paul@16354 | 16 # Rules to configure and make the package. |
paul@16354 | 17 compile_rules() |
paul@16354 | 18 { |
pascal@19702 | 19 sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/' src/* |
paul@16354 | 20 ./configure \ |
paul@16354 | 21 --prefix=/usr \ |
paul@16354 | 22 --mandir=/usr/share/man \ |
paul@16354 | 23 $CONFIGURE_ARGS && |
paul@16354 | 24 make && make DESTDIR=$DESTDIR install |
paul@16354 | 25 } |
paul@16354 | 26 |
paul@16354 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@16354 | 28 genpkg_rules() |
paul@16354 | 29 { |
paul@16354 | 30 mkdir -p $fs/usr |
paul@16354 | 31 cp -a $install/usr/bin $fs/usr |
paul@16354 | 32 } |