wok view wireshark/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (10 months ago)
parents 1805f71c5d9f
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 - $WEB_SITE 2>/dev/null | \
23 sed '/Stable Release/!d;s|.*>Stable Release: ||;s|<.*||;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 }