32 lines
743 B
Plaintext
Raw Normal View History

2014-09-10 22:49:44 +02:00
#!/usr/bin/make -f
# export DH_VERBOSE=1
2014-09-10 22:49:44 +02:00
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2021-02-22 03:06:46 +05:30
include /usr/share/dpkg/architecture.mk
2014-09-10 22:49:44 +02:00
2021-02-22 03:06:46 +05:30
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO
endif
2021-02-22 03:06:46 +05:30
ifeq ($(DEB_HOST_ARCH_OS), hurd)
CONF_FLAGS := -DCPULOAD_PLUGIN=NO -DNETWORKMONITOR_PLUGIN=NO -DVOLUME_PLUGIN=NO -DSENSORS_PLUGIN=NO
2015-12-28 17:07:51 +01:00
endif
2014-09-10 22:49:44 +02:00
2021-02-22 03:06:46 +05:30
%:
dh ${@} --buildsystem cmake
2020-02-16 01:12:28 +05:30
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure --\
-DPULL_TRANSLATIONS=OFF \
-DUPDATE_TRANSLATIONS=OFF \
-DDOM_PLUGIN=YES \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2021-02-22 03:06:46 +05:30
$(CONF_FLAGS)