tools: improve debian-setup with optional packages.

Change-Id: Ie7480b0c5297039aadfa253fce84c66b0e217814
Reviewed-on: https://code.wireshark.org/review/13596
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
This commit is contained in:
Dario Lombardo 2016-01-29 10:13:57 +01:00
parent 21c3a6d91b
commit 5084a423e8
1 changed files with 20 additions and 2 deletions

View File

@ -28,9 +28,27 @@
# We drag in tools that might not be needed by all users; it's easier
# that way.
#
apt-get install libgtk2.0-dev libpcap0.8-dev bison flex make automake \
if [ -n $1 ] && [ "$1" != "--install-optional" ]
then
echo "\n*** Invalid parameter: $1\n"
exit 1
fi
apt-get install libgtk2.0-dev libpcap-dev bison flex make automake \
libtool python perl
#
# Now arrange for optional support libraries - or just pull them all in?
# Now arrange for optional support libraries
#
if [ -z $1 ]
then
echo "\n*** Optional packages not installed. Rerun with --install-optional to have them.\n"
exit 0
fi
apt-get install libnl-3-dev qttools5-dev qttools5-dev-tools libgtk-3-dev \
libc-ares-dev libssh-dev libkrb5-dev libqt5svg5-dev lynx libsmi2-dev
portaudio19-dev asciidoc libgcrypt-dev libsbc-dev libgeoip-dev \
libgnutls-dev qtmultimedia5-dev liblua5.2-dev libnl-cli-3-dev
libparse-yapp-perl qt5-default