view src/libxslt.mk @ 177:e3f4909ed0d5

update packages binutils, curl, fltk, fontconfig, freetype, gdal, geos, libgcrypt, libpng, libxml2, libxslt, pdcurses
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 09 Nov 2008 13:30:12 +0100
parents e24c6d8d2a79
children 5bf9071e67b6
line wrap: on
line source

# libxslt
# http://xmlsoft.org/XSLT/

PKG            := libxslt
$(PKG)_VERSION := 1.1.24
$(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