blob: 7378444ee3f5db0df38f2cb940ba28035c5c2552 (
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
|
# This file is part of MXE.
# See index.html for further information.
PKG := libxslt
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.1.29
$(PKG)_CHECKSUM := b5976e3857837e7617b29f2249ebb5eeac34e249208d31f1fbf7a6ba7a4090ce
$(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 \
$(MXE_CONFIGURE_OPTS) \
--without-debug \
--with-libxml-prefix='$(PREFIX)/$(TARGET)' \
--without-python \
--without-plugins
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
|