Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 776 Bytes
# This file is part of MXE.
# See index.html for further information.
PKG := xz
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := 50ce842bea6519537457d9ad90d110a127656786
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(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
Something went wrong with that request. Please try again.