mxe/src/readline.mk

28 lines
873 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2009-04-20 14:02:18 +01:00
PKG := readline
$(PKG)_IGNORE :=
$(PKG)_VERSION := 6.3
$(PKG)_CHECKSUM := 56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43
2009-04-20 14:02:18 +01:00
$(PKG)_SUBDIR := readline-$($(PKG)_VERSION)
$(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE)
$(PKG)_DEPS := gcc termcap
2009-04-20 14:02:18 +01:00
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://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
cd '$(1)' && bash_cv_wcwidth_broken=no \
./configure \
2014-03-09 07:09:15 +00:00
$(MXE_CONFIGURE_OPTS) \
--enable-multibyte \
2009-04-20 14:02:18 +01:00
--without-purify \
--without-curses
$(MAKE) -C '$(1)' -j '$(JOBS)' install
2009-04-20 14:02:18 +01:00
endef