wok-6.x annotate tcpick/receipt @ rev 10255
Add rake.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:00:00 2011 +0000 (2011-05-21) |
parents | |
children | 91b97e8d14d8 |
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 DEPENDS="libpcap" |
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 |
slaxemulator@9196 | 13 # Rules to configure and make the package. |
slaxemulator@9196 | 14 compile_rules() |
slaxemulator@9196 | 15 { |
slaxemulator@9196 | 16 cd $src |
slaxemulator@9196 | 17 ./configure --mandir=/usr/share/man && make && make install |
slaxemulator@9196 | 18 } |
slaxemulator@9196 | 19 |
slaxemulator@9196 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9196 | 21 genpkg_rules() |
slaxemulator@9196 | 22 { |
slaxemulator@9196 | 23 mkdir -p $fs/usr |
slaxemulator@9196 | 24 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9196 | 25 } |
slaxemulator@9196 | 26 |