termux-packages/packages/libedit/build.sh

12 lines
560 B
Bash
Raw Normal View History

2017-04-07 02:26:43 +02:00
TERMUX_PKG_HOMEPAGE=http://thrysoee.dk/editline/
TERMUX_PKG_DESCRIPTION="Library providing line editing, history, and tokenization functions"
2018-06-19 16:45:19 +02:00
TERMUX_PKG_VERSION=20180525-3.1
2017-04-07 02:26:43 +02:00
TERMUX_PKG_SRCURL=http://thrysoee.dk/editline/libedit-${TERMUX_PKG_VERSION}.tar.gz
2018-06-19 16:45:19 +02:00
TERMUX_PKG_SHA256=c41bea8fd140fb57ba67a98ec1d8ae0b8ffa82f4aba9c35a87e5a9499e653116
2017-04-07 02:26:43 +02:00
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man7/editline.7 share/man/man3/history.3"
2017-04-07 02:26:43 +02:00
termux_step_pre_configure() {
CFLAGS+=" -D__STDC_ISO_10646__=201103L -DNBBY=CHAR_BIT"
}