71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
# Tanım: Linux için bluetooth istemci ve kütüphaneleri.
|
||
# URL: http://www.bluez.org/
|
||
# Paketçi: milisarge
|
||
# Gerekler: libical libvorbis alsa-lib libusb-compat libsndfile cups glib
|
||
|
||
isim=bluez
|
||
surum=5.47
|
||
devir=1
|
||
|
||
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)
|
||
derle() {
|
||
|
||
cd $isim-$surum
|
||
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
|
||
|
||
./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}
|
||
|
||
ln -svf /lib/bluetooth/bluetoothd $PKG/usr/sbin/
|
||
|
||
|
||
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
|
||
|
||
cd /sources/milis.git/ayarlar/servisler
|
||
make DESTDIR=$PKG kur-bluetooth
|
||
}
|