2018-08-22 16:43:24 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://thrysoee.dk/editline/
|
2017-04-07 02:26:43 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Library providing line editing, history, and tokenization functions"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-21 11:24:43 +02:00
|
|
|
TERMUX_PKG_VERSION=20210714-3.1
|
2018-08-22 16:43:24 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://thrysoee.dk/editline/libedit-${TERMUX_PKG_VERSION}.tar.gz
|
2021-07-21 11:24:43 +02:00
|
|
|
TERMUX_PKG_SHA256=3023b498ad593fd7745ae3b20abad546de506b67b8fbb5579637ca69ab82dbc9
|
2017-04-07 02:26:43 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libedit-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libedit-dev"
|
2017-04-07 03:26:01 +02:00
|
|
|
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"
|
|
|
|
}
|