termux-packages/packages/toxic/build.sh

22 lines
751 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"
2018-09-22 21:50:32 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
2018-11-01 03:23:25 +01:00
TERMUX_PKG_VERSION=0.8.3
TERMUX_PKG_SHA256=97f26ba2c257c10439fd2ff280ca90c37ed225d86f46740a08f02ff2e4459e0e
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
TERMUX_PKG_DEPENDS="c-toxcore, libconfig, libcurl, libqrencode, ncurses"
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
}