toxcore.guncellendi
This commit is contained in:
parent
fa6bbdf8eb
commit
83cf9533c1
|
@ -1,18 +1,21 @@
|
||||||
# Description: Çevrimiçi iletişim çekirdeğinin geleceği
|
# Description: p2p şifreli iletişim protokol çekirdeği
|
||||||
# URL: https://github.com/irungentoo/toxcore
|
# URL: https://github.com/TokTok/c-toxcore/
|
||||||
# packager: milisarge
|
# packager: milisarge
|
||||||
# Depends on: libconfig libsodium libvpx opus
|
# Depends on: libconfig libsodium libvpx opus cmake
|
||||||
|
|
||||||
name=toxcore
|
name=toxcore
|
||||||
version=master
|
version=0.1.8
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/irungentoo/$name/archive/$version.tar.gz)
|
source=(https://github.com/TokTok/c-toxcore/archive/v$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mv $DERLEME_KAYNAKDIZIN/$version.tar.gz $DERLEME_KAYNAKDIZIN/$name-$version.tar.gz
|
cd c-toxcore-$version
|
||||||
cd $name-$version
|
sed -i "/Rpath/d;/RPATH/d" CMakeLists.txt
|
||||||
./autogen.sh
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
./configure --prefix=/usr --disable-daemon --disable-ntox
|
-DDHT_BOOTSTRAP=on \
|
||||||
|
-DBOOTSTRAP_DAEMON=on \
|
||||||
|
-DBUILD_NTOX=off
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR="$PKG" install
|
||||||
|
install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$PKG/etc/tox-bootstrapd.conf"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue