diff --git a/debian/rules b/debian/rules
index 2f31b1b7ed63b634886b24b12039aa5d1b7bcc8b..779f5a730e7b67dbed3bc0861ba1c5536695deb2 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
--disable-java
endif
-# This plugin is Intel-hardware specific.
+# These plugins are Intel-hardware specific.
ifeq (,$(filter amd64 i386, $(DEB_BUILD_ARCH)))
confflags += \
+ --disable-dpdkstat \
--disable-turbostat
endif
&& 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