blob: 6a3381c90563df6a88efb93bd48cd7f24ed997f7 (
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
|
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# XZ
PKG := xz
$(PKG)_IGNORE :=
$(PKG)_VERSION := 5.0.2
$(PKG)_CHECKSUM := 2f64e90df16a4cc143bf7ba5788953fac593f4f6
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://tukaani.org/xz/
$(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://tukaani.org/xz/' | \
$(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
--disable-dynamic \
--disable-threads \
--disable-nls
$(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install
endef
|