Mercurial > mxe-octave
view src/libxslt.mk @ 2803:bd0fe0e0dac1
package pthreads: fix update macro
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 11 Oct 2012 16:29:24 +0200 |
parents | d9cf1d80ed77 |
children | 47558e958113 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libxslt $(PKG)_IGNORE := $(PKG)_CHECKSUM := f8072177f1ffe1b9bb8759a9e3e6349e1eac1f66 $(PKG)_SUBDIR := libxslt-$($(PKG)_VERSION) $(PKG)_FILE := libxslt-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://xmlsoft.org/libxslt/$($(PKG)_FILE) $(PKG)_DEPS := gcc libxml2 libgcrypt define $(PKG)_UPDATE $(WGET) -q -O- 'http://git.gnome.org/browse/libxslt/refs/tags' | \ grep '<a href=' | \ $(SED) -n "s,.*<a href='[^']*/tag/?id=v\\([0-9][^']*\\)'.*,\\1,p" | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --without-debug \ --prefix='$(PREFIX)/$(TARGET)' \ --with-libxml-prefix='$(PREFIX)/$(TARGET)' \ LIBGCRYPT_CONFIG='$(PREFIX)/$(TARGET)/bin/libgcrypt-config' \ --without-python \ --without-plugins $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef