File debian.rules of Package netvfy-agent

#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
%:
	dh $@ --buildsystem=cmake

override_dh_usrlocal:
override_dh_auto_configure:

	rm -rf tapcfg/release
	mkdir tapcfg/release
	rm -rf tapcfg/build

	cd tapcfg && \
	./buildall.sh || true

	mv tapcfg/build/libtapcfg.so tapcfg/release/libtapcfg32.so
	strip tapcfg/release/libtapcfg32.so

	dh_auto_configure -- -DWITH_GUI=OFF
openSUSE Build Service is sponsored by