blob: 7e49b90feee5b29cfbae9060580c20f983277b68 (
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
|
# libxslt
PKG := libxslt
$(PKG)_VERSION := 1.1.24
$(PKG)_CHECKSUM := b5402e24abff5545ed76f6a55049cbebc664bd58
$(PKG)_SUBDIR := libxslt-$($(PKG)_VERSION)
$(PKG)_FILE := libxslt-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://xmlsoft.org/XSLT/
$(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
|