2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Linux için bluetooth istemci ve kütüphaneleri.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.bluez.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libical libvorbis alsa-lib libusb-compat libsndfile cups glib
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=bluez
|
|
|
|
|
surum=5.47
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz
|
|
|
|
|
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch)
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-01-29 11:18:15 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
|
|
|
|
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--libexecdir=/lib \
|
|
|
|
|
--disable-systemd \
|
|
|
|
|
--enable-gstreamer \
|
|
|
|
|
--enable-alsa \
|
|
|
|
|
--enable-usb \
|
|
|
|
|
--enable-tools \
|
|
|
|
|
--enable-bccmd \
|
|
|
|
|
--enable-dfutool \
|
|
|
|
|
--enable-hid2hci \
|
|
|
|
|
--enable-hidd \
|
|
|
|
|
--enable-pand \
|
|
|
|
|
--enable-dund \
|
|
|
|
|
--enable-cups \
|
|
|
|
|
--disable-test \
|
|
|
|
|
--enable-library \
|
|
|
|
|
--without-systemdunitdir
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
install -v -dm755 $PKG/{etc/bluetooth,usr/sbin}
|
|
|
|
|
|
2017-01-29 11:18:15 +01:00
|
|
|
|
ln -svf /lib/bluetooth/bluetoothd $PKG/usr/sbin/
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat > $PKG/etc/bluetooth/rfcomm.conf << "EOF"
|
|
|
|
|
# rfcomm.conf
|
|
|
|
|
# Set up the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel.
|
|
|
|
|
# Use one line per command
|
|
|
|
|
# See the rfcomm man page for options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# End of rfcomm.conf
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
cat > $PKG/etc/bluetooth/uart.conf << "EOF"
|
|
|
|
|
#uart.conf
|
|
|
|
|
# Attach serial devices via UART HCI to BlueZ stack
|
|
|
|
|
# Use one line per device
|
|
|
|
|
# See the hciattach man page for options
|
|
|
|
|
|
|
|
|
|
# End of uart.conf
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -m644 profiles/network/network.conf \
|
|
|
|
|
profiles/input/input.conf \
|
|
|
|
|
$PKG/etc/bluetooth
|
|
|
|
|
|
2017-09-23 16:29:07 +02:00
|
|
|
|
cd /sources/milis.git/ayarlar/servisler
|
|
|
|
|
make DESTDIR=$PKG kur-bluetooth
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|