33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Description: Bluetooth libraries and utilities
|
|
# URL: http://www.bluez.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: alsa-lib dbus glib
|
|
# Optional: cups docutils libical
|
|
|
|
name=bluez
|
|
version=5.64
|
|
release=1
|
|
source=(https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz
|
|
bluetoothd)
|
|
|
|
build() {
|
|
cd bluez-$version
|
|
|
|
prt-get isinst cups && PKGMK_BLUEZ+=' --enable-cups' || PKGMK_BLUEZ+=' --disable-cups'
|
|
prt-get isinst docutils || PKGMK_BLUEZ+=' --disable-manpages'
|
|
prt-get isinst libical && PKGMK_BLUEZ+=' --enable-obex' || PKGMK_BLUEZ+=' --disable-obex'
|
|
|
|
./configure $PKGMK_BLUEZ \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib \
|
|
--enable-{a2dp,experimental,library,midi,tools} \
|
|
--disable-systemd
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -D -m 0644 src/main.conf $PKG/etc/bluetooth/main.conf
|
|
install -D -m 0755 $SRC/bluetoothd $PKG/etc/rc.d/bluetoothd
|
|
prt-get isinst libical && install -D -m 0755 tools/obexctl $PKG/usr/lib/bluetooth/obexctl || true
|
|
}
|