2018-08-15 12:55:00 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
|
|
|
|
|
|
|
TERMUX_PKG_HOMEPAGE=https://tox.chat
|
|
|
|
TERMUX_PKG_DESCRIPTION="Backend library for the Tox protocol"
|
2018-08-23 14:45:43 +02:00
|
|
|
TERMUX_PKG_VERSION=0.2.6
|
|
|
|
TERMUX_PKG_SHA256=f4caeadede44c8ea00710d075c3f11d0255e89c0140278b701de1323a78b6311
|
2018-08-15 12:55:00 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/TokTok/toxcore/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_DEPENDS="libsodium"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_configure() {
|
|
|
|
termux_setup_cmake
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="${TERMUX_PREFIX}" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR="${TERMUX_PREFIX}/lib" \
|
|
|
|
-DBOOTSTRAP_DAEMON=off \
|
|
|
|
-DDHT_BOOTSTRAP=off \
|
|
|
|
-DBUILD_TOXAV=off \
|
|
|
|
-DBUILD_AV_TEST=off
|
|
|
|
}
|