wok-current view wireshark/receipt @ rev 23007
consonance: added dependency gcc83-lib-base
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 07:00:49 2020 +0100 (2020-03-03) |
parents | 64042ecea7ad |
children | 535c806240cc |
line source
1 # SliTaz package receipt.
3 PACKAGE="wireshark"
4 VERSION="2.6.1"
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.xz"
10 WEB_SITE="https://www.wireshark.org/"
11 WGET_URL="https://1.eu.dl.wireshark.org/src/$TARBALL"
12 TAGS="network analysis"
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 libgnutls"
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-gtk=2 \
28 $CONFIGURE_ARGS
29 sed -i 's/mozilla/browser/' config.h
30 make $MAKEFLAGS &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib \
38 $fs/usr/share
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/wireshark $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/wireshark $fs/usr/share
43 }