#!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_HOST_MULTIARCH %: dh $@ --builddirectory=build override_dh_acc: - dh_acc - cat debian/libairspy-dev/usr/lib/x86_64-linux-gnu/dh-acc/libairspy-dev_1.0.9-1_report.html override_dh_auto_configure: dh_auto_configure --builddirectory=build -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_TYPE=Release override_dh_makeshlibs: dh_makeshlibs -V 'libairspy0 (>= 1.0.9~)' get-orig-source: git clone https://github.com/airspy/host.git cd host && git archive --format=tar --prefix=airspy-host-$(VER)/ $(GITREV) | xz > ../airspy-host_$(VER).orig.tar.xz rm -rf host tar Jxf airspy-host_$(VER).orig.tar.xz - rm -f airspy-host-$(VER)/.travis.yml - rm -rf airspy-host-$(VER)/libairspy/vc rm airspy-host_$(VER).orig.tar.xz tar Jcf airspy-host_$(VER).orig.tar.xz airspy-host-$(VER) rm -rf airspy-host-$(VER)