wok view wireshark/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | 7896f0694ef6 |
children | 994ab4549367 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.10.11"
5 CATEGORY="network"
6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wireshark.org/"
11 WGET_URL="http://wiresharkdownloads.riverbed.com/wireshark/src/$TARBALL"
12 TAGS="network analyzer"
14 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \
15 libgcrypt portaudio libpcap libkrb5"
16 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \
17 libgcrypt-dev flex libtasn1-dev bison perl"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --enable-setuid-install \
26 $CONFIGURE_ARGS
27 sed -i 's/mozilla/browser/' config.h
28 make $MAKEFLAGS &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib \
36 $fs/usr/share
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/wireshark $fs/usr/lib
39 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/wireshark $fs/usr/share
42 }