diff options
Diffstat (limited to 'network/wireshark/wireshark.SlackBuild')
-rw-r--r-- | network/wireshark/wireshark.SlackBuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild index 11b5a15f05..499132efd5 100644 --- a/network/wireshark/wireshark.SlackBuild +++ b/network/wireshark/wireshark.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for wireshark # Copyright 2008-2014 Michiel van Wessem, Leicester, United Kingdom -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # Originally written by Jick Nan (jick.nan@gmail.com) # All rights reserved. # @@ -29,7 +29,7 @@ # Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=wireshark -VERSION=${VERSION:-2.4.6} +VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -104,20 +104,16 @@ 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 +install -m644 config.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 -for col in {lo,hi}; do - for size in {16,32,48}; do - cp image/${col}${size}-app-$PRGNAM.png \ - $PKG/usr/share/icons/${col}color/${size}x${size}/apps/$PRGNAM.png - done -done + +# Remove any .la files +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS* COPYING ChangeLog INSTALL* NEWS README* doc/READM* \ |