+## This will need changing on other kernels.
+default_tunnel = linux
+
+## Configuration arguments.
+DEB_CONFIGURE_EXTRA_FLAGS = \
+ --with-tunnel="$(default_tunnel) slip" \
+ --with-configdir="/etc/tripe" \
+ --with-socketdir="/var/run" \
+ --with-logfile="/var/log/tripe.log" \
+ --with-pidfile="/var/run/tripectl.pid" \
+ --with-initconfig="/etc/default/tripe" \
+ --with-wireshark
+
+###--------------------------------------------------------------------------
+### Install the startup scripts.
+
+install/tripe::
+ cp $(DEB_BUILDDIR)/init/tripe-init debian/tripe.init
+ cp $(DEB_SRCDIR)/init/tripe.conf debian/tripe.default
+
+cleanbuilddir::
+ rm -f debian/tripe.init debian/tripe.default
+
+###--------------------------------------------------------------------------
+### Wireshark plugin.
+
+## Grab the version we built against, so we can put it in the dependencies.
+install/tripe-wireshark::