Package list bluez-firmware / lintian-fixes/main debian / rules
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

rules @lintian-fixes/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/.