milis/talimatname/genel/t/toxcore/talimat

22 lines
582 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: p2p şifreli iletişim protokol çekirdeği
2017-05-24 00:41:15 +02:00
# URL: https://github.com/TokTok/c-toxcore/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libconfig libsodium libvpx opus cmake
2016-04-24 00:55:24 +02:00
2017-10-28 14:10:23 +02:00
isim=toxcore
surum=0.1.10
devir=1
kaynak=(https://github.com/TokTok/c-toxcore/archive/v$surum.tar.gz)
2016-04-24 00:55:24 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd c-toxcore-$surum
2017-05-24 00:41:15 +02:00
sed -i "/Rpath/d;/RPATH/d" CMakeLists.txt
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DDHT_BOOTSTRAP=on \
-DBOOTSTRAP_DAEMON=on \
-DBUILD_NTOX=off
make
make DESTDIR="$PKG" install
install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$PKG/etc/tox-bootstrapd.conf"
2016-04-24 00:55:24 +02:00
}