22 lines
590 B
Plaintext
22 lines
590 B
Plaintext
# 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
|
||
|
||
name=toxcore
|
||
version=0.1.10
|
||
release=1
|
||
source=(https://github.com/TokTok/c-toxcore/archive/v$version.tar.gz)
|
||
|
||
build() {
|
||
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"
|
||
}
|