wok-current annotate tcptrack/receipt @ rev 17672
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 12:55:08 2015 +0100 (2015-02-17) |
parents | 0a1bd2c2da42 |
children | d3eb5f4b53ea |
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" |
paul@16354 | 11 WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/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 } |