Mercurial > mxe-octave
changeset 142:e24c6d8d2a79
translated package: libxslt
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 08 Nov 2008 20:19:22 +0100 |
parents | 13f2668f37a8 |
children | 95c26d2b78d4 |
files | src/libxslt.mk |
diffstat | 1 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libxslt.mk Sat Nov 08 20:19:22 2008 +0100 @@ -0,0 +1,28 @@ +# libxslt +# http://xmlsoft.org/XSLT/ + +PKG := libxslt +$(PKG)_VERSION := 1.1.22 +$(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- 'ftp://xmlsoft.org/libxslt/' | \ + $(SED) -n 's,.*LATEST_LIBXSLT_IS_\([0-9][^>]*\)</a>.*,\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