wok-4.x view wireshark/receipt @ rev 12050

get-xnviewmp: remove extension from desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 17:28:56 2012 -0800 (2012-03-07)
parents 96eb24dd8b9d
children 9c762d56b413
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="1.6.5"
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://media-2.cacetech.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 cd $src
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --enable-setuid-install \
26 --disable-portaudio \
27 $CONFIGURE_ARGS &&
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 $fs/usr/share/applications \
38 $fs/usr/share/pixmaps
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/wireshark $fs/usr/lib
42 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/share/wireshark $fs/usr/share
46 cp -a $stuff/wireshark.desktop $fs/usr/share/applications
47 cp -a $stuff/wireshark.png $fs/usr/share/pixmaps
48 }