diff --git a/debian/rules b/debian/rules
index aab7db998ca552109936748cbd164bf1756d0dae..3960dff718620145034dd2c1062d89703aa81d33 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
--without-libstatgrab \
--without-included-ltdl \
--disable-static \
+ --disable-silent-rules \
--enable-all-plugins
# These plugins do not provide any functionality under Linux.
--disable-java
endif
+# This plugin is Intel-hardware specific.
+ifeq (,$(filter amd64 i386, $(DEB_BUILD_ARCH)))
+ confflags += \
+ --disable-turbostat
+endif
+
+# libatasmart isn't available on these platforms.
+ifneq (,$(filter hurd-i386 kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
+ confflags += --disable-smart
+endif
+
# The hppa buildds currently do not keep up with Java related stuff, thus
# prevending testing transitions. sparc is also having trouble building the
# java plugin.
install-indep:
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs -i
dh_install -i
install-arch: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs -a
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
dh_installdebconf -a
dh_systemd_enable -pcollectd-core --name=collectd collectd.service
dh_installinit -pcollectd-core --name=collectd -- defaults 95
- dh_systemd_start
+ 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