Changeset 7152 for pkg/raul/main/bluez/trunk/debian/rules
- Timestamp:
- 01/16/11 01:41:43 (2 years ago)
- File:
-
- 1 edited
-
pkg/raul/main/bluez/trunk/debian/rules (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pkg/raul/main/bluez/trunk/debian/rules
r6781 r7152 12 12 --enable-alsa \ 13 13 --enable-usb \ 14 --enable-netlink \15 14 --enable-tools \ 16 15 --enable-test \ … … 32 31 DEB_DESTDIR := $(CURDIR)/debian/tmp 33 32 33 TEST_PROGRAM_LIST = simple-agent simple-service test-adapter test-audio test-device \ 34 test-discovery test-input test-manager test-network test-serial \ 35 test-service test-telephony 36 34 37 #install/bluetooth:: 35 #install -D -m 0644 $(CURDIR)/debian/bluetooth.override $(CURDIR)/debian/bluetooth/usr/share/lintian/overrides/bluetooth 38 #install -D -m 0644 $(CURDIR)/debian/bluetooth.override \ 39 $(CURDIR)/debian/bluetooth/usr/share/lintian/overrides/bluetooth 36 40 37 41 install/bluez:: 38 42 # conf files 39 install -D -m 0644 $(CURDIR)/input/input.conf $(CURDIR)/debian/bluez/etc/bluetooth/input.conf 40 install -D -m 0644 $(CURDIR)/audio/audio.conf $(CURDIR)/debian/bluez/etc/bluetooth/audio.conf 41 install -D -m 0644 $(CURDIR)/network/network.conf $(CURDIR)/debian/bluez/etc/bluetooth/network.conf 42 install -D -m 0644 $(CURDIR)/serial/serial.conf $(CURDIR)/debian/bluez/etc/bluetooth/serial.conf 43 install -D -m 0644 $(CURDIR)/input/input.conf \ 44 $(CURDIR)/debian/bluez/etc/bluetooth/input.conf 45 install -D -m 0644 $(CURDIR)/audio/audio.conf \ 46 $(CURDIR)/debian/bluez/etc/bluetooth/audio.conf 47 install -D -m 0644 $(CURDIR)/network/network.conf \ 48 $(CURDIR)/debian/bluez/etc/bluetooth/network.conf 49 install -D -m 0644 $(CURDIR)/serial/serial.conf \ 50 $(CURDIR)/debian/bluez/etc/bluetooth/serial.conf 43 51 44 52 # udev rules, actually upstream version is changed with 45 # sed -i 's@RUN+="/usr/sbin/hid2hci@RUN+="/lib/udev/bluez@' scripts/bluetooth-hid2hci.rules 53 # sed -i 's@RUN+="/usr/sbin/hid2hci@RUN+="/lib/udev/bluez@' 54 # scripts/bluetooth-hid2hci.rules 46 55 # and the diff is in debian/patches/010_udev_rules_agent.patch 47 install -D -m 0644 $(CURDIR)/scripts/bluetooth-hid2hci.rules $(CURDIR)/debian/bluez/lib/udev/rules.d/62-bluez-hid2hci.rules 48 install -D -m 0755 $(CURDIR)/debian/bluez_agent.udev $(CURDIR)/debian/bluez/lib/udev/bluez 56 install -D -m 0644 $(CURDIR)/scripts/bluetooth-hid2hci.rules \ 57 $(CURDIR)/debian/bluez/lib/udev/rules.d/62-bluez-hid2hci.rules 58 install -D -m 0755 $(CURDIR)/debian/bluez_agent.udev \ 59 $(CURDIR)/debian/bluez/lib/udev/bluez 49 60 50 61 # misc 51 install -D -m 0755 $(CURDIR)/test/agent $(CURDIR)/debian/bluez/usr/bin/bluetooth-agent 52 install -D -m 0644 $(CURDIR)/debian/README.examples $(CURDIR)/debian/bluez/usr/share/doc/bluez/examples/README 62 install -D -m 0755 $(CURDIR)/test/agent \ 63 $(CURDIR)/debian/bluez/usr/bin/bluetooth-agent 64 for d in $(TEST_PROGRAM_LIST) ; do \ 65 install -D -m 0755 $(CURDIR)/test/$$d \ 66 $(CURDIR)/debian/bluez/usr/bin/bluez-$$d ; \ 67 done 68 69 install -D -m 0644 $(CURDIR)/debian/README.examples \ 70 $(CURDIR)/debian/bluez/usr/share/doc/bluez/examples/README 53 71 54 72 #install/bluez-utils:: 55 #install -D -m 0644 $(CURDIR)/debian/bluez-utils.override $(CURDIR)/debian/bluez-utils/usr/share/lintian/overrides/bluez-utils 73 #install -D -m 0644 $(CURDIR)/debian/bluez-utils.override \ 74 # $(CURDIR)/debian/bluez-utils/usr/share/lintian/overrides/bluez-utils 56 75 57 76 install/bluez-alsa:: 58 install -D -m 0644 $(CURDIR)/audio/bluetooth.conf $(CURDIR)/debian/bluez-alsa/usr/share/alsa/bluetooth.conf 77 install -D -m 0644 $(CURDIR)/audio/bluetooth.conf \ 78 $(CURDIR)/debian/bluez-alsa/usr/share/alsa/bluetooth.conf 59 79 60 80 install/bluez-pcmcia-support:: 61 cp -f $(CURDIR)/scripts/bluetooth-serial.rules $(CURDIR)/debian/bluez-pcmcia-support.udev 81 cp -f $(CURDIR)/scripts/bluetooth-serial.rules \ 82 $(CURDIR)/debian/bluez-pcmcia-support.udev 62 83 63 84 binary-install/bluez-compat:: 64 85 for d in pand dund hidd; do \ 65 mv -v $(CURDIR)/debian/bluez/usr/bin/$$d $(CURDIR)/debian/bluez-compat/usr/bin/;\ 66 mv -v $(CURDIR)/debian/bluez/usr/share/man/man1/$$d* $(CURDIR)/debian/bluez-compat/usr/share/man/man1/;\ 86 mv -v $(CURDIR)/debian/bluez/usr/bin/$$d \ 87 $(CURDIR)/debian/bluez-compat/usr/bin/;\ 88 mv -v $(CURDIR)/debian/bluez/usr/share/man/man1/$$d* \ 89 $(CURDIR)/debian/bluez-compat/usr/share/man/man1/;\ 67 90 done 68 91 69 92 binary-install/bluez-gstreamer:: 70 LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib:$(LD_LIBRARY_PATH)" dh_gstscancodecs -pbluez-gstreamer 93 LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib:$(LD_LIBRARY_PATH)" \ 94 dh_gstscancodecs -pbluez-gstreamer 71 95 72 96 binary-install/bluez:: 73 install -D -m 0644 $(CURDIR)/debian/bluetooth-dbus.conf $(CURDIR)/debian/bluez/etc/dbus-1/system.d/bluetooth.conf 97 install -D -m 0644 $(CURDIR)/debian/bluetooth-dbus.conf \ 98 $(CURDIR)/debian/bluez/etc/dbus-1/system.d/bluetooth.conf 74 99 75 100 binary-install/bluez-pcmcia-support::
Note: See TracChangeset
for help on using the changeset viewer.


