milis/talimatname/genel/r/ring-daemon/talimat

40 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: ring.cx sflphone olarak ta bilinen ücretsiz iletişim yazılımıdır.
# URL: https://ring.cx
# Paketçi: milisarge
# 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
# Grup: ağ
isim=ring-daemon
surum=git
devir=1
kaynak=(https://github.com/savoirfairelinux/ring-daemon/archive/master.tar.gz::$isim-git-$devir.tar.gz)
derle() {
cd "$SRC/$isim-master"
_pjprojectver=2.6
wget -nc http://www.pjsip.org/release/${_pjprojectver}/pjproject-${_pjprojectver}.tar.bz2 -P $DERLEME_KAYNAKDIZIN
[ -f $DERLEME_KAYNAKDIZIN/pjproject-${_pjprojectver}.tar.bz2 ] && \
cp $DERLEME_KAYNAKDIZIN/pjproject-${_pjprojectver}.tar.bz2 contrib/tarballs \
|| exit 1
mkdir contrib/native
autoreconf -fvi
cd "$SRC/$isim-master/contrib/native"
../bootstrap \
--disable-downloads \
--disable-all \
--enable-pjproject
make DEPS_pjproject=
cd ../..
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--enable-ipv6
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
}