wok-next view tcpick/receipt @ rev 10352

bash: make it cross compile!
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:38:05 2011 +0200 (2011-05-22)
parents
children 91b97e8d14d8
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpick"
4 VERSION="0.2.1"
5 CATEGORY="network"
6 SHORT_DESC="TCP stream sniffer and connection tracker"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libpcap"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tcpick.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --mandir=/usr/share/man && make && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr
24 cp -a $_pkg/usr/bin $fs/usr
25 }