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

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-03-11 04:45:54 +01:00
# Tanım: ring.cx sflphone olarak ta bilinen ücretsiz iletişim yazılımıdır.
2017-07-25 02:30:09 +02:00
# URL: https://ring.cx
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2018-03-11 04:45:54 +01:00
# 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ğ
2017-07-25 02:30:09 +02:00
2017-10-28 14:10:23 +02:00
isim=ring-daemon
2018-03-11 04:45:54 +01:00
surum=git
2017-10-28 14:10:23 +02:00
devir=1
2018-03-11 04:45:54 +01:00
kaynak=(https://github.com/savoirfairelinux/ring-daemon/archive/master.tar.gz::$isim-git-$devir.tar.gz)
2017-07-25 02:30:09 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2018-03-11 04:45:54 +01:00
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 ../..
2017-07-25 02:30:09 +02:00
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
2018-03-11 04:45:54 +01:00
--libexecdir=/usr/lib \
2017-07-25 02:30:09 +02:00
--sysconfdir=/etc \
--enable-ipv6
2018-03-11 04:45:54 +01:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
2017-07-25 02:30:09 +02:00
}