wok-next view wireshark/receipt @ rev 18887

Up firefox-official(44.0.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 12 15:47:40 2016 +0200 (2016-02-12)
parents bf90ef740673
children a6f7b6b890c2
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="2.0.0"
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="https://1.eu.dl.wireshark.org/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 wget"
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 --with-qt=no \
27 --with-gtk2=yes \
28 --with-gtk3=no \
29 $CONFIGURE_ARGS
30 sed -i 's/mozilla/browser/' config.h
31 make $MAKEFLAGS &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib \
39 $fs/usr/share
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/wireshark $fs/usr/lib
42 rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/wireshark $fs/usr/share
45 }