Mercurial > mxe-octave
view src/libxml2.mk @ 2799:7d4c8f2179f6
update package curl
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 11 Oct 2012 00:31:16 +0200 |
parents | 36201cc62689 |
children | 5ae40d276a1d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libxml2 $(PKG)_IGNORE := $(PKG)_CHECKSUM := a0c553bd51ba79ab6fff26dc700004c6a41f5250 $(PKG)_SUBDIR := libxml2-$($(PKG)_VERSION) $(PKG)_FILE := libxml2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://xmlsoft.org/libxml2/$($(PKG)_FILE) $(PKG)_DEPS := gcc xz 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 \ --host='$(TARGET)' \ --build="`config.guess`" \ --disable-shared \ --without-debug \ --prefix='$(PREFIX)/$(TARGET)' \ --without-python \ --without-threads $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef