diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 19:19:22 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 19:19:22 (GMT) |
commit | 141fc3ea548cd3d1055665b7671f4ea7940c6272 (patch) | |
tree | 256a37ef93dc21cc549dcc6e03c3381637825d48 /src | |
parent | 27ee9799fd9f1e7c76505b070791c8412a43b33d (diff) | |
download | mxe-141fc3ea548cd3d1055665b7671f4ea7940c6272.zip mxe-141fc3ea548cd3d1055665b7671f4ea7940c6272.tar.gz mxe-141fc3ea548cd3d1055665b7671f4ea7940c6272.tar.bz2 |
translated package: libxslt
Diffstat (limited to 'src')
-rw-r--r-- | src/libxslt.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/libxslt.mk b/src/libxslt.mk new file mode 100644 index 0000000..30ec1c0 --- /dev/null +++ b/src/libxslt.mk @@ -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 |