wok-next annotate tcpick/receipt @ rev 16024
spk: add to cross arch's
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 23:00:20 2014 +0100 (2014-03-06) |
parents | e7780d51d896 |
children | 8cf349cc0a47 |
rev | line source |
---|---|
slaxemulator@9196 | 1 # SliTaz package receipt. |
slaxemulator@9196 | 2 |
slaxemulator@9196 | 3 PACKAGE="tcpick" |
slaxemulator@9196 | 4 VERSION="0.2.1" |
slaxemulator@9196 | 5 CATEGORY="network" |
slaxemulator@9196 | 6 SHORT_DESC="TCP stream sniffer and connection tracker" |
slaxemulator@9196 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15590 | 8 LICENSE="GPL2" |
slaxemulator@9196 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9196 | 10 WEB_SITE="http://tcpick.sourceforge.net/" |
slaxemulator@9196 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@9196 | 12 |
pascal@10459 | 13 DEPENDS="libpcap" |
pascal@10610 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@10459 | 15 |
slaxemulator@9196 | 16 # Rules to configure and make the package. |
slaxemulator@9196 | 17 compile_rules() |
slaxemulator@9196 | 18 { |
slaxemulator@9196 | 19 cd $src |
slaxemulator@9196 | 20 ./configure --mandir=/usr/share/man && make && make install |
slaxemulator@9196 | 21 } |
slaxemulator@9196 | 22 |
slaxemulator@9196 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9196 | 24 genpkg_rules() |
slaxemulator@9196 | 25 { |
slaxemulator@9196 | 26 mkdir -p $fs/usr |
pascal@15590 | 27 cp -a $install/usr/bin $fs/usr |
slaxemulator@9196 | 28 } |
slaxemulator@9196 | 29 |