new package: ttyplot
ttyplot: Cleanup `build.sh`
This commit is contained in:
parent
d50fdec62f
commit
046e2e38de
18
packages/ttyplot/build.sh
Normal file
18
packages/ttyplot/build.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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.4
|
||||||
|
TERMUX_PKG_SRCURL="https://github.com/tenox7/ttyplot/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
|
||||||
|
TERMUX_PKG_SHA256=11974754981406d19cfa16865b59770faaf3ade8d909d9a0134dc56e00d29bd4
|
||||||
|
TERMUX_PKG_DEPENDS="ncurses"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
TERMUX_PKG_EXTRA_MAKE_ARGS="-e"
|
||||||
|
|
||||||
|
termux_step_pre_configure() {
|
||||||
|
CFLAGS+=" $CPPFLAGS"
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
install -Dm755 -t "$TERMUX_PREFIX/bin" ttyplot
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user