summaryrefslogtreecommitdiff
path: root/strata/bluetooth/bluez.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/bluetooth/bluez.morph')
-rw-r--r--strata/bluetooth/bluez.morph19
1 files changed, 19 insertions, 0 deletions
diff --git a/strata/bluetooth/bluez.morph b/strata/bluetooth/bluez.morph
new file mode 100644
index 0000000..e7208da
--- /dev/null
+++ b/strata/bluetooth/bluez.morph
@@ -0,0 +1,19 @@
+name: bluez
+kind: chunk
+description: Bluetooth protocol stack for Linux
+build-system: autotools
+configure-commands:
+- autoreconf -ivf
+- ./configure --prefix="$PREFIX"
+ --enable-tools
+ --enable-service
+ --enable-test
+ --enable-library
+ --sysconfdir=/etc
+ --localstatedir=/var
+ --libexecdir=/lib
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR/etc/systemd/system/bluetooth.target.wants"
+- ln -s /lib/systemd/system/bluetooth.service "$DESTDIR/etc/systemd/system/bluetooth.target.wants/bluetooth.service"
+- ln -s /lib/systemd/system/bluetooth.service "$DESTDIR/etc/systemd/system/dbus-org.bluez.service"