wok annotate wireshark/receipt @ rev 24725

updated libconfig and libconfig-dev (1.7.2 -> 1.7.3)
author Hans-G?nter Theisgen
date Tue Mar 15 11:07:13 2022 +0100 (2022-03-15)
parents 6135577f4d08
children 1805f71c5d9f
rev   line source
pankso@1108 1 # SliTaz package receipt.
pankso@1108 2
pankso@1108 3 PACKAGE="wireshark"
erkan@20329 4 VERSION="2.6.1"
pankso@1108 5 CATEGORY="network"
pankso@1108 6 SHORT_DESC="Wireshark is an award-winning network protocol analyzer."
pankso@1108 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erkan@20329 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20679 10 WEB_SITE="https://www.wireshark.org/"
pascal@18619 11 WGET_URL="https://1.eu.dl.wireshark.org/src/$TARBALL"
al@19168 12 TAGS="network analysis"
slaxemulator@10797 13
samuel_trassare@11742 14 DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \
samuel_trassare@11742 15 libgcrypt portaudio libpcap libkrb5"
samuel_trassare@11742 16 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \
pascal@20532 17 libgcrypt-dev flex libtasn1-dev bison perl wget libgnutls"
pankso@1108 18
pascal@24465 19 # What is the latest version available today?
pascal@24465 20 current_version()
pascal@24465 21 {
pascal@24465 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24465 23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24465 24 }
pascal@24465 25
pankso@1108 26 # Rules to configure and make the package.
pankso@1108 27 compile_rules()
pankso@1108 28 {
pankso@1108 29 ./configure \
pankso@1108 30 --prefix=/usr \
pankso@1108 31 --mandir=/usr/share/man \
pankso@1108 32 --enable-setuid-install \
pascal@18619 33 --with-qt=no \
erkan@20329 34 --with-gtk=2 \
samuel_trassare@13399 35 $CONFIGURE_ARGS
samuel_trassare@13399 36 sed -i 's/mozilla/browser/' config.h
gokhlayeh@11574 37 make $MAKEFLAGS &&
slaxemulator@10233 38 make install
pankso@1108 39 }
pankso@1108 40
pankso@1108 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1108 42 genpkg_rules()
pankso@1108 43 {
samuel_trassare@11742 44 mkdir -p $fs/usr/lib \
samuel_trassare@12057 45 $fs/usr/share
samuel_trassare@14162 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
samuel_trassare@14162 47 cp -a $install/usr/lib/wireshark $fs/usr/lib
samuel_trassare@14162 48 cp -a $install/usr/bin $fs/usr
samuel_trassare@14162 49 cp -a $install/usr/share/wireshark $fs/usr/share
pankso@1108 50 }