diff --git a/debian/rules b/debian/rules
index fca492c9b3d482e6613583f5a2e8bb38db04eb44..1029f44b9c9317435aabe2f260aca76b1fdbfd4a 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# librouteros is required for the routeros plugin.
confflags += --disable-routeros
+# libsigrok >= 0.2.0 is required for the sigrok plugin
+confflags += --disable-sigrok
+
+# linux-libc-dev >= 3.13 is required for the turbostat plugin.
+confflags += --disable-turbostat
+
# libmongoc is required for the write_mongodb plugin.
confflags += --disable-write_mongodb
+# librdkafka is required for the write_kafka plugin.
+confflags += --disable-write_kafka
+
# xmms1 is required for the xmms plugin.
confflags += --disable-xmms
&& rm -f lib/Collectd/Graph/File.pm lib/Collectd/Graph/Filter.pm \
&& rm -f lib/Collectd/Graph/MetaData.pm )
dh_installdebconf -a
- dh_systemd_enable -pcollectd-core --name=collectd
dh_installinit -pcollectd-core --name=collectd -- defaults 95
- dh_systemd_start -pcollectd-core
dh_link -a
dh_strip -a --dbg-package=collectd-dbg
- dh_strip_nondeterminism -pcollectd-core
dh_compress -a -Xexamples/
dh_fixperms -a
dh_makeshlibs -a