talimat 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Tanım: Linux için bluetooth istemci ve kütüphaneleri.
  2. # URL: http://www.bluez.org/
  3. # Paketçi: milisarge
  4. # Gerekler: libical libvorbis alsa-lib libusb-compat libsndfile cups glib
  5. # Grup: kütüphane
  6. isim=bluez
  7. surum=5.50
  8. devir=1
  9. kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz
  10. bluetooth.modprobe
  11. bluez-5.50-obexd_without_systemd-1.patch
  12. refresh_adv_manager_for_non-LE_devices.diff)
  13. derle() {
  14. cd $isim-$surum
  15. patch -Np1 -i ../bluez-5.50-obexd_without_systemd-1.patch
  16. patch -Np1 -i ../refresh_adv_manager_for_non-LE_devices.diff
  17. ./configure --prefix=/usr \
  18. --sysconfdir=/etc \
  19. --localstatedir=/var \
  20. --libexecdir=/usr/lib \
  21. --disable-systemd \
  22. --enable-gstreamer \
  23. --enable-alsa \
  24. --enable-usb \
  25. --enable-tools \
  26. --enable-bccmd \
  27. --enable-dfutool \
  28. --enable-hid2hci \
  29. --enable-hidd \
  30. --enable-pand \
  31. --enable-dund \
  32. --enable-cups \
  33. --disable-test \
  34. --enable-sixaxis \
  35. --enable-experimental \
  36. --enable-library \
  37. --without-systemdunitdir
  38. make
  39. make DESTDIR=${PKG} \
  40. install-libexecPROGRAMS \
  41. install-dbussessionbusDATA \
  42. install-dbussystembusDATA \
  43. install-dbusDATA
  44. make DESTDIR=${PKG} install-binPROGRAMS
  45. make DESTDIR=${PKG} install-cupsPROGRAMS
  46. make DESTDIR=${PKG} \
  47. install-udevPROGRAMS \
  48. install-rulesDATA \
  49. install-includeHEADERS \
  50. install-pkgconfigDATA
  51. make DESTDIR=${PKG} \
  52. install-pluginLTLIBRARIES
  53. install -dm755 ${PKG}/etc/bluetooth
  54. install -Dm644 ${SRC}/${isim}-${surum}/src/main.conf ${PKG}/etc/bluetooth/main.conf
  55. install -dm755 ${PKG}/etc/modprobe.d
  56. install -Dm644 ${SRC}/bluetooth.modprobe ${PKG}/etc/modprobe.d/bluetooth-usb.conf
  57. for files in `find tools/ -type f -perm -755`; do
  58. filename=$(basename $files)
  59. install -Dm755 ${SRC}/${isim}-${surum}/tools/$filename ${PKG}/usr/bin/$filename
  60. done
  61. mkdir -p "$PKG/usr/sbin"
  62. ln -sf /usr/lib/bluetooth/bluetoothd "$PKG/usr/sbin/bluetoothd"
  63. ln -sf /usr/lib/bluetooth/obexd "$PKG/usr/sbin/obexd"
  64. rm -rf ${PKG}/lib/udev/hid2hci
  65. cd /sources/milis.git/ayarlar/servisler
  66. make DESTDIR=$PKG kur-bluetooth
  67. install -dm755 $PKG/usr/lib/modules-load.d
  68. echo "crypto_user" > $PKG/usr/lib/modules-load.d/bluez.conf
  69. }