termux-packages/packages/toxic/build.sh

23 lines
743 B
Bash
Raw Normal View History

2018-08-15 12:54:29 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/JFreegman/toxic
TERMUX_PKG_DESCRIPTION="A command line client for Tox"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
2020-12-08 00:26:47 +01:00
TERMUX_PKG_VERSION=0.10.0
2018-08-15 12:54:29 +02:00
TERMUX_PKG_SRCURL=https://github.com/JFreegman/toxic/archive/v${TERMUX_PKG_VERSION}/toxic-${TERMUX_PKG_VERSION}.tar.gz
2020-12-08 00:26:47 +01:00
TERMUX_PKG_SHA256=a1435e0e1adc46e93736b653719d0fbecd366341db7feeebe3678980fe2e6d7d
2019-04-14 14:51:46 +02:00
TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libcurl, libqrencode, ncurses, zlib"
2018-08-15 12:54:29 +02:00
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
}