wok-6.x view wireshark/receipt @ rev 3952

Up: tazpkg (3.1) - Convert improved and bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Tue Aug 25 22:12:27 2009 +0200 (2009-08-25)
parents b2e3d4e4a21d
children c3775281e8c7
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.0.8"
5 CATEGORY="network"
6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gnutls libgpg-error libcap gtk+ portaudio pcre xorg-libXdamage"
9 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap gtk+-dev
10 libgcrypt-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wireshark.org/"
13 WGET_URL="http://media-2.cacetech.com/wireshark/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-setuid-install \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
34 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/wireshark $fs/usr/share
37 }