File: rules

package info (click to toggle)
rtl-sdr 0.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,296 kB
  • sloc: ansic: 9,292; python: 102; sh: 86; makefile: 74; xml: 57
file content (20 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure: debian/librtlsdr0.udev
	dh_auto_configure --buildsystem=cmake -- -DDETACH_KERNEL_DRIVER=ON \
						 -DENABLE_ZEROCOPY=ON \
						 -DINSTALL_UDEV_RULES=ON \
						 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
						 -DCMAKE_VERBOSE_MAKEFILE=ON

debian/librtlsdr0.udev: rtl-sdr.rules
	cp -p rtl-sdr.rules debian/librtlsdr0.udev

override_dh_acc:
	- dh_acc
	- cat debian/librtlsdr-dev/usr/lib/x86_64-linux-gnu/dh-acc/librtlsdr-dev_*_report.html