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