0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-23 13:11:41 +00:00
Files
termux-packages/packages/ttyplot/build.sh
Termux Github Actions 003120bd95 bump(main/ttyplot): 1.7.0
This commit has been automatically submitted by Github Actions.
2024-08-03 18:14:00 +00:00

21 lines
710 B
Bash

TERMUX_PKG_HOMEPAGE="https://github.com/tenox7/ttyplot"
TERMUX_PKG_DESCRIPTION="A realtime plotting utility for terminal with data input from stdin"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.7.0"
TERMUX_PKG_SRCURL="https://github.com/tenox7/ttyplot/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=f16ca828bf73f56c05ed4e1797a23861aa7cf3a98fe3fcc8c992d8646906fe51
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="-e"
termux_step_pre_configure() {
CPPFLAGS+=" -DNCURSES_WIDECHAR=1"
CFLAGS+=" $CPPFLAGS"
}
termux_step_make_install() {
install -Dm755 -t "$TERMUX_PREFIX/bin" ttyplot
}