2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: p2p şifreli iletişim protokol çekirdeği
|
|
|
|
|
# URL: https://github.com/TokTok/c-toxcore/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libconfig libsodium libvpx opus cmake
|
2018-07-26 12:40:54 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=toxcore
|
|
|
|
|
surum=0.1.10
|
|
|
|
|
devir=1
|
2018-07-26 12:40:54 +02:00
|
|
|
|
kaynak=(https://github.com/TokTok/c-toxcore/archive/v$surum.tar.gz::c-toxcore-$surum.tar.gz)
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd c-toxcore-$surum
|
|
|
|
|
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"
|
|
|
|
|
}
|