diff options
Diffstat (limited to 'strata/bluetooth')
-rw-r--r-- | strata/bluetooth/bluez-tools.morph | 10 | ||||
-rw-r--r-- | strata/bluetooth/bluez.morph | 19 | ||||
-rw-r--r-- | strata/bluetooth/libical.morph | 5 |
3 files changed, 34 insertions, 0 deletions
diff --git a/strata/bluetooth/bluez-tools.morph b/strata/bluetooth/bluez-tools.morph new file mode 100644 index 00000000..80e47ef5 --- /dev/null +++ b/strata/bluetooth/bluez-tools.morph @@ -0,0 +1,10 @@ +name: bluez-tools +kind: chunk +description: A set of tools to manage Bluetooth devices for Linux +build-system: autotools +configure-commands: +- sed -i -e 's/-lreadline/-lreadline -lncurses/g' configure.ac +- ./autogen.sh +- ./configure --prefix="$PREFIX" --disable-obex +build-commands: +- LDFLAGS="$LDFLAGS -lncurses" make diff --git a/strata/bluetooth/bluez.morph b/strata/bluetooth/bluez.morph new file mode 100644 index 00000000..e7208da7 --- /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" diff --git a/strata/bluetooth/libical.morph b/strata/bluetooth/libical.morph new file mode 100644 index 00000000..2ee7c96c --- /dev/null +++ b/strata/bluetooth/libical.morph @@ -0,0 +1,5 @@ +name: libical +kind: chunk +build-system: cmake +configure-commands: +- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_INSTALL_LIBDIR=lib |