2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2009-04-20 14:02:18 +01:00
|
|
|
|
|
|
|
PKG := readline
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://tiswww.case.edu/php/chet/readline/rltop.html
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := Readline
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2019-01-08 22:57:30 +00:00
|
|
|
$(PKG)_VERSION := 8.0
|
|
|
|
$(PKG)_CHECKSUM := e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461
|
2009-04-20 14:02:18 +01:00
|
|
|
$(PKG)_SUBDIR := readline-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz
|
2017-03-04 10:33:47 +00:00
|
|
|
$(PKG)_URL := https://ftp.gnu.org/gnu/readline/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc termcap
|
2009-04-20 14:02:18 +01:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://tiswww.case.edu/php/chet/readline/rltop.html' | \
|
2009-04-20 14:02:18 +01:00
|
|
|
grep 'readline-' | \
|
|
|
|
$(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2014-10-01 01:23:42 +01:00
|
|
|
cd '$(1)' && bash_cv_wcwidth_broken=no \
|
|
|
|
./configure \
|
2014-03-09 07:09:15 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2009-04-20 21:40:41 +01:00
|
|
|
--enable-multibyte \
|
2009-04-20 14:02:18 +01:00
|
|
|
--without-purify \
|
2015-01-21 20:01:48 +00:00
|
|
|
--without-curses
|
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
2009-04-20 14:02:18 +01:00
|
|
|
endef
|