talimat 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Tanım: ring.cx sflphone olarak ta bilinen ücretsiz iletişim yazılımıdır.
  2. # URL: https://ring.cx
  3. # Paketçi: milisarge
  4. # Gerekler: boost libsecp256k1 msgpack-c autoconf-archive opendht yaml-cpp alsa-lib pulseaudio jack jsoncpp libsamplerate libsndfile dbus-c++ ffmpeg xorg-libxtst gnutls gsm libupnp libnatpmp crypto++ libva boost libvdpau restbed
  5. # Grup: ağ
  6. isim=ring-daemon
  7. surum=git
  8. devir=1
  9. kaynak=(https://github.com/savoirfairelinux/ring-daemon/archive/master.tar.gz::$isim-git-$devir.tar.gz)
  10. derle() {
  11. cd "$SRC/$isim-master"
  12. _pjprojectver=2.6
  13. wget -nc http://www.pjsip.org/release/${_pjprojectver}/pjproject-${_pjprojectver}.tar.bz2 -P $DERLEME_KAYNAKDIZIN
  14. [ -f $DERLEME_KAYNAKDIZIN/pjproject-${_pjprojectver}.tar.bz2 ] && \
  15. cp $DERLEME_KAYNAKDIZIN/pjproject-${_pjprojectver}.tar.bz2 contrib/tarballs \
  16. || exit 1
  17. mkdir contrib/native
  18. autoreconf -fvi
  19. cd "$SRC/$isim-master/contrib/native"
  20. ../bootstrap \
  21. --disable-downloads \
  22. --disable-all \
  23. --enable-pjproject
  24. make DEPS_pjproject=
  25. cd ../..
  26. ./configure \
  27. --prefix=/usr \
  28. --sbindir=/usr/bin \
  29. --libexecdir=/usr/lib \
  30. --sysconfdir=/etc \
  31. --enable-ipv6
  32. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  33. make
  34. make DESTDIR="$PKG" install
  35. }