Mercurial > mxe-octave
view src/expat.mk @ 4608:dac40a0ff814
nsis: update for 64bit compile
* src/nsis.mk: use sed to change default target stype in makensis, set target options to amd64 in 64bit mode, dont skip system plugin
* tools/makeinst-script.sh.in: include MUI2.nsh
author | John Donoghue |
---|---|
date | Wed, 28 Feb 2018 11:01:19 -0500 |
parents | dc3eb553f5e9 |
children | ec38ce512260 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := expat $(PKG)_IGNORE := $(PKG)_VERSION := 2.2.5 $(PKG)_CHECKSUM := 490659abd7d6c6d4cb4e60c945a15fbf081564f6 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION) $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \ $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) DESTDIR='$(3)' endef