diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-01-25 07:53:11 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-01-25 07:53:11 (GMT) |
commit | e47a4bde7cc13e63e4c4e4cc25353dac94884f7e (patch) | |
tree | 50a91860bb4d23273861e1e649abe2e451afe42f /src | |
parent | 86d208958c4e5e8b8ed4d1ad77cec739adafd454 (diff) | |
parent | 9da60dc36821e637603fd9c7b6cbb0543f42df9e (diff) | |
download | mxe-e47a4bde7cc13e63e4c4e4cc25353dac94884f7e.zip mxe-e47a4bde7cc13e63e4c4e4cc25353dac94884f7e.tar.gz mxe-e47a4bde7cc13e63e4c4e4cc25353dac94884f7e.tar.bz2 |
Merge pull request #609 from marlam/readline
Add package termcap, and make readline use it instead of pdcurses.
Diffstat (limited to 'src')
-rw-r--r-- | src/readline.mk | 7 | ||||
-rw-r--r-- | src/termcap.mk | 20 |
2 files changed, 23 insertions, 4 deletions
diff --git a/src/readline.mk b/src/readline.mk index 6abf369..a2ebc58 100644 --- a/src/readline.mk +++ b/src/readline.mk @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 017b92dc7fd4e636a2b5c9265a77ccc05798c9e1 $(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 pdcurses +$(PKG)_DEPS := gcc termcap define $(PKG)_UPDATE $(WGET) -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \ @@ -23,7 +23,6 @@ define $(PKG)_BUILD $(MXE_CONFIGURE_OPTS) \ --enable-multibyte \ --without-purify \ - --with-curses \ - LIBS='-lcurses' - $(MAKE) -C '$(1)' -j '$(JOBS)' install $(if $(BUILD_STATIC),SHARED_LIBS=,SHLIB_LIBS='-lcurses') + --without-curses + $(MAKE) -C '$(1)' -j '$(JOBS)' install endef diff --git a/src/termcap.mk b/src/termcap.mk new file mode 100644 index 0000000..57e0a09 --- /dev/null +++ b/src/termcap.mk @@ -0,0 +1,20 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := termcap +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.3.1 +$(PKG)_CHECKSUM := 42dd1e6beee04f336c884f96314f0c96cc2578be +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + /bin/false +endef + +define $(PKG)_BUILD + cd '$(1)' && autoreconf -fi && ./configure $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' install oldincludedir= +endef |