2015-06-04 05:06:23 -05:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
|
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
|
|
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
|
2016-01-08 08:04:35 -06:00
|
|
|
CONFFLAGS = --prefix=/usr --localstatedir=/var --with-lokit-path=`pwd`/bundled/include --disable-tests
|
2015-06-04 05:06:23 -05:00
|
|
|
|
|
|
|
# Avoid setcap when doing "make", when building for packaging
|
|
|
|
# the setcap is done at installation time
|
|
|
|
export BUILDING_FROM_RPMBUILD=yes
|
|
|
|
|
|
|
|
# main packaging script based on dh7 syntax
|
|
|
|
%:
|
|
|
|
dh $@
|
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
./configure $(CONFFLAGS)
|
2016-01-08 08:04:35 -06:00
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
# do not test
|