22 lines
710 B
Bash
22 lines
710 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/JFreegman/toxic
|
|
TERMUX_PKG_DESCRIPTION="A command line client for Tox"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_VERSION=0.9.0
|
|
TERMUX_PKG_SRCURL=https://github.com/JFreegman/toxic/archive/v${TERMUX_PKG_VERSION}/toxic-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=723b43a2bc84c94a8a432a6daab95a989466a6dce80ca917a89f47b616d81e4f
|
|
TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libcurl, libqrencode, ncurses, zlib"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
make \
|
|
PREFIX="${TERMUX_PREFIX}" \
|
|
CC="${CC}" \
|
|
PKG_CONFIG="${PKG_CONFIG}" \
|
|
USER_CFLAGS="${CFLAGS}" \
|
|
USER_LDFLAGS="${LDFLAGS}"
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
make PREFIX="${TERMUX_PREFIX}" install
|
|
}
|