wok-4.x annotate tcpick/receipt @ rev 11531
up:ario (1.5.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 25 02:49:44 2011 +0100 (2011-12-25) |
parents | 91b97e8d14d8 |
children |
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" |
slaxemulator@9196 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9196 | 9 WEB_SITE="http://tcpick.sourceforge.net/" |
slaxemulator@9196 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@9196 | 11 |
pascal@10459 | 12 DEPENDS="libpcap" |
pascal@10610 | 13 BUILD_DEPENDS="libpcap-dev" |
pascal@10459 | 14 |
slaxemulator@9196 | 15 # Rules to configure and make the package. |
slaxemulator@9196 | 16 compile_rules() |
slaxemulator@9196 | 17 { |
slaxemulator@9196 | 18 cd $src |
slaxemulator@9196 | 19 ./configure --mandir=/usr/share/man && make && make install |
slaxemulator@9196 | 20 } |
slaxemulator@9196 | 21 |
slaxemulator@9196 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9196 | 23 genpkg_rules() |
slaxemulator@9196 | 24 { |
slaxemulator@9196 | 25 mkdir -p $fs/usr |
slaxemulator@9196 | 26 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9196 | 27 } |
slaxemulator@9196 | 28 |