milis/talimatname/genel/b/bluez/talimat

74 lines
2.0 KiB
Plaintext
Raw Normal View History

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
2017-11-20 13:35:02 +01:00
devir=3
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
2017-11-17 03:33:54 +01:00
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch
bluetooth.modprobe)
2016-02-24 01:27:23 +01:00
2017-11-17 03:33:54 +01:00
derle() {
cd $isim-$surum
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
2016-02-24 01:27:23 +01:00
2017-11-17 03:33:54 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/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-sixaxis \
--enable-experimental \
--enable-library \
--without-systemdunitdir
make
make DESTDIR=${PKG} \
install-libexecPROGRAMS \
install-dbussessionbusDATA \
install-dbussystembusDATA \
install-dbusDATA
make DESTDIR=${PKG} install-binPROGRAMS
make DESTDIR=${PKG} install-cupsPROGRAMS
make DESTDIR=${PKG} \
install-udevPROGRAMS \
install-rulesDATA
make DESTDIR=${PKG} \
install-pluginLTLIBRARIES
2016-02-24 01:27:23 +01:00
2017-11-17 03:33:54 +01:00
install -dm755 ${PKG}/etc/bluetooth
install -Dm644 ${SRC}/${isim}-${surum}/src/main.conf ${PKG}/etc/bluetooth/main.conf
2016-02-24 01:27:23 +01:00
2017-11-17 03:33:54 +01:00
install -dm755 ${PKG}/etc/modprobe.d
install -Dm644 ${SRC}/bluetooth.modprobe ${PKG}/etc/modprobe.d/bluetooth-usb.conf
for files in `find tools/ -type f -perm -755`; do
filename=$(basename $files)
install -Dm755 ${SRC}/${isim}-${surum}/tools/$filename ${PKG}/usr/bin/$filename
done
2017-11-20 13:35:02 +01:00
mkdir -p "$PKG/usr/sbin"
ln -sf /usr/lib/bluetooth/bluetoothd "$PKG/usr/sbin/bluetoothd"
ln -sf /usr/lib/bluetooth/obexd "$PKG/usr/sbin/obexd"
2017-11-17 03:33:54 +01:00
rm -rf ${PKG}/lib/udev/hid2hci
cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-bluetooth
2016-02-24 01:27:23 +01:00
}