Package list bluez-firmware / 1730142a-170e-4b16-b97d-d9a06525ff8e/main debian / rules
1730142a-170e-4b16-b97d-d9a06525ff8e/main

Tree @1730142a-170e-4b16-b97d-d9a06525ff8e/main (Download .tar.gz)

rules @1730142a-170e-4b16-b97d-d9a06525ff8e/mainraw · history · blame

#!/usr/bin/make -f

DEB_DESTDIR := debian/bluez-firmware

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --libdir=/lib

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(DEB_DESTDIR)/usr/share/doc/bluez-firmware
	mv $(DEB_DESTDIR)/lib/firmware/BCM-LEGAL.txt  \
		$(DEB_DESTDIR)/usr/share/doc/bluez-firmware/
	# Copy firmware of Raspberry Pi
	mkdir -p $(DEB_DESTDIR)/lib/firmware/brcm
	cp $(CURDIR)/debian/firmware/broadcom/*.hcd \
		$(DEB_DESTDIR)/lib/firmware/brcm/.