summaryrefslogtreecommitdiffstats
path: root/network/wireshark/wireshark.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2022-10-05 18:33:07 +0200
committer Willy Sudiarto Raharjo2022-10-05 18:33:07 +0200
commit4f4c4e5a1963c34d651c1060943d25c4e56d3ded (patch)
tree1537526046104848aba284bf1802c9ffbca39656 /network/wireshark/wireshark.SlackBuild
parent81cd1f845b53dd8933d35ce2a97fbbfe88f15aec (diff)
downloadslackbuilds-4f4c4e5a1963c34d651c1060943d25c4e56d3ded.tar.gz
network/wireshark: Updated for version 4.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/wireshark/wireshark.SlackBuild')
-rw-r--r--network/wireshark/wireshark.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index ca44090a74..038d2e241f 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -32,7 +32,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wireshark
-VERSION=${VERSION:-3.6.8}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -121,19 +118,19 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/include/$PRGNAM/{epan/{crypt,dfilter,dissectors,ftypes,wmem},wiretap,wsutil}
-install -m644 ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+install -m644 include/ws_diag_control.h include/ws_symbol_export.h $PKG/usr/include/$PRGNAM
for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes; do
install -m644 $d/*.h $PKG/usr/include/$PRGNAM/$d
done
mkdir -p $PKG/usr/share/applications
-cp org.wireshark.Wireshark.desktop $PKG/usr/share/applications
+cp resources/freedesktop/org.wireshark.Wireshark.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/mime/packages
-cp org.wireshark.Wireshark-mime.xml $PKG/usr/share/mime/packages
+cp resources/freedesktop/org.wireshark.Wireshark-mime.xml $PKG/usr/share/mime/packages
mkdir -p $PKG/usr/share/metainfo
-cp org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/metainfo
+cp resources/freedesktop/org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/metainfo
# Remove any .la files
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la