mxe/src/ncurses.mk

37 lines
1.0 KiB
Makefile
Raw Normal View History

2012-04-15 17:37:45 +01:00
# 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
2012-04-15 17:38:55 +01:00
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
2012-04-15 17:37:45 +01:00
endef