Try creating a script for Debian and derivatives that will grab the
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Feb 2013 00:29:27 +0000 (00:29 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 4 Feb 2013 00:29:27 +0000 (00:29 +0000)
packages necessary for Wireshark development, using apt-get.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@47460 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am
debian-setup.sh [new file with mode: 0755]

index e34d63b77efd95a75c016336c4f1e42d32dd14c1..69586290b872636d745417726288214274a32764 100644 (file)
@@ -659,6 +659,7 @@ EXTRA_DIST = \
        debian/wireshark.files \
        debian/wireshark.manpages \
        debian/wireshark.menu   \
+       debian-setup.sh         \
        dfilters                \
        doxygen.cfg.in          \
        dumpcap.c       \
diff --git a/debian-setup.sh b/debian-setup.sh
new file mode 100755 (executable)
index 0000000..b43f881
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Setup development environment on Debian and derivatives such as Ubuntu
+#
+# $Id$
+#
+
+#
+# Install the packages required for Wireshark development.
+# (This includes GUI packages; making that optional, with a command-line
+# flag, is left as an exercise to the reader.)
+#
+# 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 \
+       libtool python perl
+
+#
+# Now arrange for optional support libraries - or just pull them all in?
+#