summaryrefslogtreecommitdiffstats
path: root/network/wireshark/wireshark.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-10-05 02:45:27 +0200
committer Willy Sudiarto Raharjo2016-10-07 14:09:13 +0200
commitab117450079b66e9e459b7faf7b8b00207887e07 (patch)
tree4b4f73290ddc69a56492c28f3902e15b86d5e37d /network/wireshark/wireshark.SlackBuild
parent9f1888ab797323abd620c360c6e5537ae53ba012 (diff)
downloadslackbuilds-ab117450079b66e9e459b7faf7b8b00207887e07.tar.gz
network/wireshark: Updated for version 2.2.1.
Install headers as well. Otherwise libvirt will fail to build if wireshark is present. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/wireshark/wireshark.SlackBuild')
-rw-r--r--network/wireshark/wireshark.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index 294ad1ca9c..cc1cd71740 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -28,7 +28,7 @@
# Modified by Mario Preksavec <mario@slackware.hr>
PRGNAM=wireshark
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,12 +96,18 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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 config.h register.h ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+ for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem wiretap wsutil; do
+ install -m644 $d/*.h $PKG/usr/include/$PRGNAM/$d
+ done
+
mkdir -p $PKG/usr/share/applications
cp $PRGNAM.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/{hi,lo}color/{16x16,32x32,48x48}/apps