File debian.rules of Package qtkeychain

#!/usr/bin/make -f

%:
	dh --buildsystem=cmake $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_SKIP_RPATH=YES -DCMAKE_BUILD_TYPE=RelWithDebInfo

override_dh_auto_install:
	echo "debian/tmp/usr/include/qtkeychain" > debian/qtkeychain-dev.install

ifndef DEB_HOST_MULTIARCH
	echo "debian/tmp/usr/lib/libqtkeychain.so.*" >> debian/libqtkeychain0.install
	echo "debian/tmp/usr/lib/cmake/QtKeychain" >> debian/qtkeychain-dev.install
	echo "debian/tmp/usr/lib/libqtkeychain.so" >> debian/qtkeychain-dev.install
else
	echo "debian/tmp/usr/lib/*/libqtkeychain.so.*" >> debian/libqtkeychain0.install
	echo "debian/tmp/usr/lib/*/cmake/QtKeychain" >> debian/qtkeychain-dev.install
	echo "debian/tmp/usr/lib/*/libqtkeychain.so" >> debian/qtkeychain-dev.install
endif
	dh_auto_install
	
openSUSE Build Service is sponsored by