You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
689 B
20 lines
689 B
TERMUX_PKG_HOMEPAGE=https://tox.chat
|
|
TERMUX_PKG_DESCRIPTION="Backend library for the Tox protocol"
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
|
TERMUX_PKG_VERSION=0.2.8
|
|
TERMUX_PKG_SHA256=47fe125d8558775a03a3ded58e9faa07a01cfecd65257e24b544b4b5698d9362
|
|
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
|
|
}
|
|
|