diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-08-02 03:29:22 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-08-02 03:31:17 (GMT) |
commit | 39f524cb1176088f72bcc177ce9ec80f02561784 (patch) | |
tree | 90384c6784d63451a21186506f86d6faa0ebac18 /src/ncurses.mk | |
parent | 230accfd22524ac83ce2373615e09aedb6d8b170 (diff) | |
download | mxe-39f524cb1176088f72bcc177ce9ec80f02561784.zip mxe-39f524cb1176088f72bcc177ce9ec80f02561784.tar.gz mxe-39f524cb1176088f72bcc177ce9ec80f02561784.tar.bz2 |
ncurses: update to development version and enable shared build
Dev is fairly stable, and has fixes for mingw shared build.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/ncurses.mk')
-rw-r--r-- | src/ncurses.mk | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/ncurses.mk b/src/ncurses.mk index 859240f..6eb5a42 100644 --- a/src/ncurses.mk +++ b/src/ncurses.mk @@ -3,19 +3,25 @@ PKG := ncurses $(PKG)_IGNORE := -$(PKG)_VERSION := 5.9 -$(PKG)_CHECKSUM := 3e042e5f2c7223bffdaac9646a533b8c758b65b5 -$(PKG)_SUBDIR := ncurses-$($(PKG)_VERSION) -$(PKG)_FILE := ncurses-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE) +$(PKG)_VERSION := c6f5464 +$(PKG)_CHECKSUM := 5a40e0906139f877be083976f80bf0262dc95ad2 +# $(PKG)_VERSION := 5.9 +# $(PKG)_SUBDIR := ncurses-$($(PKG)_VERSION) +# $(PKG)_FILE := ncurses-$($(PKG)_VERSION).tar.gz +# $(PKG)_URL := http://ftp.gnu.org/pub/gnu/ncurses/$($(PKG)_FILE) +$(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc libgnurx -define $(PKG)_UPDATE +define $(PKG)_UPDATE_RELEASE $(WGET) -q -O- 'http://ftp.gnu.org/pub/gnu/ncurses/?C=M;O=D' | \ $(SED) -n 's,.*<a href="ncurses-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef +$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/ncurses, master) + define $(PKG)_BUILD # native build of terminfo compiler cp -Rp '$(1)' '$(1).native' @@ -40,10 +46,9 @@ define $(PKG)_BUILD --without-tests \ --enable-pc-files \ PKG_CONFIG_LIBDIR='$(PREFIX)/$(TARGET)/lib/pkgconfig' \ - --with-normal \ - --without-shared + $(if $(BUILD_STATIC), \ + --with-normal --without-shared --with-static, \ + --without-normal --without-static --with-shared) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install TIC_PATH='$(1).native/progs/tic' -endef - -$(PKG)_BUILD_SHARED = +endef
\ No newline at end of file |