wok annotate tcptrack/receipt @ rev 17472
tazpkg-desc-ru: undo unwanted change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 27 17:44:46 2014 +0200 (2014-12-27) |
parents | |
children | 3ba8d2c9720d |
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 { |
paul@16354 | 19 cd $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 } |
paul@16354 | 33 |