Mercurial > mxe-octave
changeset 2405:7f4703a75221
new package: ncurses
author | Allen Choong <allencch@hotmail.com> |
---|---|
date | Mon, 16 Apr 2012 02:37:45 +1000 |
parents | 695798a54e5e |
children | 3264ca2f154f |
files | src/ncurses.mk |
diffstat | 1 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ncurses.mk Mon Apr 16 02:37:45 2012 +1000 @@ -0,0 +1,37 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# ncurses +PKG := ncurses +$(PKG)_IGNORE := +$(PKG)_VERSION := 5.9 +$(PKG)_CHECKSUM := 3e042e5f2c7223bffdaac9646a533b8c758b65b5 +$(PKG)_SUBDIR := ncurses-$($(PKG)_VERSION) +$(PKG)_FILE := ncurses-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.gnu.org/software/ncurses/ +$(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://www.gnu.org/software/ncurses/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix=$(PREFIX)/$(TARGET) \ + --disable-home-terminfo \ + --enable-sp-funcs \ + --enable-term-driver \ + --enable-interop \ + --without-debug \ + --without-ada \ + --without-manpages \ + --enable-pc-files \ + --with-normal \ + --without-shared + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef +