2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2010-02-07 09:43:17 +00:00
|
|
|
|
|
|
|
PKG := xz
|
2017-05-19 12:12:41 +01:00
|
|
|
$(PKG)_WEBSITE := https://tukaani.org/xz/
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := XZ
|
2010-10-27 14:20:58 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2017-01-15 15:28:16 +00:00
|
|
|
$(PKG)_VERSION := 5.2.3
|
|
|
|
$(PKG)_CHECKSUM := 71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb
|
2010-02-07 09:43:17 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
2010-05-31 12:15:16 +01:00
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
2017-05-19 12:12:41 +01:00
|
|
|
$(PKG)_URL := https://tukaani.org/xz/$($(PKG)_FILE)
|
2010-02-07 09:43:17 +00:00
|
|
|
$(PKG)_DEPS := gcc
|
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-05-19 12:12:41 +01:00
|
|
|
$(WGET) -q -O- 'https://tukaani.org/xz/' | \
|
2010-02-07 09:43:17 +00:00
|
|
|
$(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-02-09 12:29:51 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2010-05-02 16:29:57 +01:00
|
|
|
--disable-threads \
|
2010-02-07 09:43:17 +00:00
|
|
|
--disable-nls
|
|
|
|
$(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install
|
|
|
|
endef
|