[Lunar-commits] <moonbase-other> bluez-5: properly handle experimental binaries

Stefan Wold ratler at lunar-linux.org
Sat Oct 25 11:03:59 CEST 2014


commit ffce8fcbdca9b098beb848f8af184faea63aa18d
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 25 Oct 2014 11:03:48 +0200
URL: https://github.com/lunar-linux/moonbase-other/commit/ffce8fcbdca9b098beb848f8af184faea63aa18d

bluez-5: properly handle experimental binaries
---
  bluetooth/bluez-5/BUILD | +6/-4     
  1 file changed, 6 insertions(+), 4 deletions(-)

--- a/bluetooth/bluez-5/BUILD
+++ b/bluetooth/bluez-5/BUILD
@@ -1,4 +1,3 @@
-
   mkdir -p /etc/bluetooth &&
 
   if in_depends $MODULE systemd ; then
@@ -12,9 +11,12 @@
   install profiles/*/*.conf /etc/bluetooth/ &&
   install src/main.conf /etc/bluetooth/ &&
   install attrib/gatttool /usr/bin &&
-  install tools/hex2hcd /usr/bin &&
-  install tools/btmgmt /usr/bin &&
-  install tools/bdaddr /usr/bin &&
+
+  if [[ "$ENABLE_EXPER" == "y" ]]; then
+    install tools/hex2hcd /usr/bin/ &&
+    install tools/btmgmt /usr/bin/ &&
+    install tools/bdaddr /usr/bin/
+  fi &&
 
 # Needed by libpcap
   install lib/mgmt.h /usr/include/bluetooth




More information about the Lunar-commits mailing list