wok-current view wireshark/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 535c806240cc |
children |
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://www.wireshark.org/download/src/all-versions/$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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --enable-setuid-install \
33 --with-qt=no \
34 --with-gtk=2 \
35 $CONFIGURE_ARGS
36 sed -i 's/mozilla/browser/' config.h
37 make $MAKEFLAGS &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib \
45 $fs/usr/share
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/wireshark $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/wireshark $fs/usr/share
50 }