Mercurial > mxe-octave
view src/wxwidgets.mk @ 4668:a11736295721
tools/build-make.sh: update to make version 4.1
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 19 Apr 2018 17:24:04 -0400 |
parents | df8f5e2adf38 |
children | 1e19369650f1 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := wxwidgets $(PKG)_IGNORE := $(PKG)_VERSION := 3.0.4 $(PKG)_CHECKSUM := 246561a73ec5b9a5a7aaaaed46b64515dc9039ab $(PKG)_SUBDIR := wxWidgets-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2 $(PKG)_URL := https://github.com/wxWidgets/wxWidgets/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := libiconv libpng jpeg tiff sdl zlib expat define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com//wxWidgets/wxWidgets/tags' | \ $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | grep -v '^3\.1' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD # build the wxWidgets variant without unicode support cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-compat24 \ --enable-compat26 \ --enable-gui \ --disable-stl \ --enable-threads \ --enable-unicode \ --disable-universal \ --with-themes=all \ --with-msw \ --with-opengl \ --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-regex=yes \ --with-zlib=sys \ --with-expat=sys \ --with-sdl \ --without-gtk \ --without-motif \ --without-mac \ --without-macosx-sdk \ --without-cocoa \ --without-wine \ --without-pm \ --without-microwin \ --without-libxpm \ --without-libmspack \ --without-gnomeprint \ --without-gnomevfs \ --without-hildon \ --without-dmalloc \ --without-odbc \ LIBS=" `'$(MXE_PKG_CONFIG)' --libs-only-l libtiff-4`" \ CXXFLAGS='-std=gnu++11' \ CXXCPP='$(MXE_CXX) -E -std=gnu++11' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) __install_wxrc___depname= $(INSTALL) -m755 '$(HOST_BINDIR)/wx-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)wx-config' mv $(HOST_LIBDIR)/wxbase30*.dll $(HOST_BINDIR)/ mv $(HOST_LIBDIR)/wxmsw30*.dll $(HOST_BINDIR)/ endef