wok annotate tcptrack/receipt @ rev 18778
syslinux/iso2exe/init: fix 'Show flavor infos'
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 01 16:02:21 2016 +0100 (2016-01-01) |
parents | 3ba8d2c9720d |
children | 3dee29a5455c |
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@17672 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
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 } |