milis/talimatname/genel/toxcore/talimat

22 lines
597 B
Plaintext
Raw Normal View History

2017-05-24 00:41:15 +02:00
# Description: p2p şifreli iletişim protokol çekirdeği
# URL: https://github.com/TokTok/c-toxcore/
2016-04-24 00:55:24 +02:00
# packager: milisarge
2017-05-24 00:41:15 +02:00
# Depends on: libconfig libsodium libvpx opus cmake
2016-04-24 00:55:24 +02:00
name=toxcore
2017-08-28 04:20:19 +02:00
version=0.1.10
2016-04-24 00:55:24 +02:00
release=1
2017-05-24 00:41:15 +02:00
source=(https://github.com/TokTok/c-toxcore/archive/v$version.tar.gz)
2016-04-24 00:55:24 +02:00
build() {
2017-05-24 00:41:15 +02:00
cd c-toxcore-$version
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
}