2018-06-03 15:19:53 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
export DEB_HOST_MULTIARCH
|
|
|
|
|
|
|
|
%:
|
2020-02-27 00:07:47 +01:00
|
|
|
dh $@ --buildsystem=cmake
|
2018-06-03 15:19:53 +02:00
|
|
|
|
|
|
|
override_dh_auto_configure: debian/librtlsdr0.udev
|
2020-02-27 00:07:47 +01:00
|
|
|
dh_auto_configure --buildsystem=cmake -- -DDETACH_KERNEL_DRIVER=ON \
|
|
|
|
-DINSTALL_UDEV_RULES=ON \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
2018-06-03 15:19:53 +02:00
|
|
|
|
|
|
|
debian/librtlsdr0.udev: rtl-sdr.rules
|
|
|
|
cp -p rtl-sdr.rules debian/librtlsdr0.udev
|
2020-02-27 00:07:47 +01:00
|
|
|
|
|
|
|
override_dh_acc:
|
|
|
|
- dh_acc
|
|
|
|
- cat debian/librtlsdr-dev/usr/lib/x86_64-linux-gnu/dh-acc/librtlsdr-dev_*_report.html
|