2014-07-15 18:30:36 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# newer dpkg set this by default.
|
|
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
|
|
|
|
# Include dpatch stuff.
|
|
|
|
include /usr/share/dpatch/dpatch.make
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh $@ --with dpatch,autotools_dev
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-ssl \
|
|
|
|
--with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--libexecdir=/usr/lib/nagios/plugins \
|
2016-06-24 12:24:47 +02:00
|
|
|
--libdir=/usr/lib/nagios \
|
|
|
|
--enable-command-args
|
2014-07-15 18:30:36 +02:00
|
|
|
|
|
|
|
override_dh_auto_install:
|