blob: 1e9675e11e01ba9148d20bc9e88becc58219e36e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# This file is part of MXE.
# See index.html for further information.
PKG := libxslt
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.1.28
$(PKG)_CHECKSUM := 5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
$(PKG)_SUBDIR := libxslt-$($(PKG)_VERSION)
$(PKG)_FILE := libxslt-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://xmlsoft.org/sources/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://xmlsoft.org/libxslt/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libgcrypt libxml2
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)' \
--build="`config.guess`" \
--disable-shared \
--without-debug \
--prefix='$(PREFIX)/$(TARGET)' \
--with-libxml-prefix='$(PREFIX)/$(TARGET)' \
--without-python \
--without-plugins
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
$(PKG)_BUILD_SHARED =
|