milis/talimatname/genel/b/bluez/talimat

78 lines
2.2 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
2017-12-22 23:19:06 +01:00
# Gerekler: libical libvorbis alsa-lib libusb-compat libsndfile cups glib
# Grup: kütüphane
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=bluez
2018-08-15 23:39:46 +02:00
surum=5.50
devir=1
2017-10-28 14:10:23 +02:00
kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz
2018-08-15 23:39:46 +02:00
bluetooth.modprobe
bluez-5.50-obexd_without_systemd-1.patch
refresh_adv_manager_for_non-LE_devices.diff)
2016-02-24 01:27:23 +01:00
2017-11-17 03:33:54 +01:00
derle() {
cd $isim-$surum
2018-08-15 23:39:46 +02:00
patch -Np1 -i ../bluez-5.50-obexd_without_systemd-1.patch
patch -Np1 -i ../refresh_adv_manager_for_non-LE_devices.diff
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 \
2018-08-15 23:39:46 +02:00
install-rulesDATA \
install-includeHEADERS \
install-pkgconfigDATA
2017-11-17 03:33:54 +01:00
make DESTDIR=${PKG} \
install-pluginLTLIBRARIES
install -dm755 ${PKG}/etc/bluetooth
install -Dm644 ${SRC}/${isim}-${surum}/src/main.conf ${PKG}/etc/bluetooth/main.conf
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
2018-08-15 23:39:46 +02:00
make DESTDIR=$PKG kur-bluetooth
install -dm755 $PKG/usr/lib/modules-load.d
echo "crypto_user" > $PKG/usr/lib/modules-load.d/bluez.conf
2016-02-24 01:27:23 +01:00
}