termux-packages/packages/mg/build.sh

16 lines
485 B
Bash
Raw Normal View History

2018-10-16 05:59:57 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/hboetes/mg
TERMUX_PKG_DESCRIPTION="microscopic GNU Emacs-style editor"
TERMUX_PKG_VERSION=20180927
TERMUX_PKG_SHA256=fbb09729ea00fe42dcdbc96ac7fc1d2b89eac651dec49e4e7af52fad4f5788f6
TERMUX_PKG_SRCURL=https://github.com/hboetes/mg/archive/$TERMUX_PKG_VERSION.tar.gz
2018-10-16 05:59:57 +02:00
TERMUX_PKG_DEPENDS="libbsd, ncurses"
TERMUX_PKG_BUILD_IN_SRC=yes
2018-10-16 05:59:57 +02:00
termux_step_pre_configure() {
CFLAGS+=" $CPPFLAGS"
}
2018-10-16 05:59:57 +02:00
termux_step_make_install() {
make prefix=$PREFIX install
}