Mercurial > mxe-octave
view src/libxml2.mk @ 3757:7a6637aa3aae
installer: ran octave through explorer when running at end of install (Bug 43824)
* makeinst-script.sh: change rfinish page parameters ro tun explorer.exe octave.bat
author | John Donoghue |
---|---|
date | Wed, 17 Dec 2014 08:19:22 -0500 |
parents | 713653a0cc35 |
children | a5e6d54bcd60 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libxml2 $(PKG)_IGNORE := $(PKG)_VERSION := 2.9.2 $(PKG)_CHECKSUM := f46a37ea6d869f702e03f393c376760f3cbee673 $(PKG)_SUBDIR := libxml2-$($(PKG)_VERSION) $(PKG)_FILE := libxml2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://xmlsoft.org/libxml2/$($(PKG)_FILE) $(PKG)_DEPS := ifneq ($(MXE_SYSTEM),msvc) $(PKG)_DEPS := xz endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://git.gnome.org/browse/libxml2/refs/tags' | \ grep '<a href=' | \ $(SED) -n "s,.*<a href='[^']*/tag/?id=v\\([0-9][^']*\\)'.*,\\1,p" | \ head -1 endef define $(PKG)_BUILD $(SED) -i 's,`uname`,MinGW,g' '$(1)/xml2-config.in' cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --without-debug \ --prefix='$(HOST_PREFIX)' \ --without-python \ --without-threads && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= DESTDIR='$(3)' endef