Mercurial > mxe-octave
view src/xz.mk @ 4950:1dc692fb6187
* installer-files/README.html: change version to 5.0
author | John Donoghue |
---|---|
date | Tue, 05 Feb 2019 12:05:47 -0500 |
parents | 0271f6d7af32 |
children | d58c36155054 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xz $(PKG)_IGNORE := $(PKG)_VERSION := 5.2.4 $(PKG)_CHECKSUM := 1d3a6910c28d40df0134f4a49e5570e8249120c5 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) $(PKG)_DEPS := 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_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \ --disable-threads \ --disable-nls $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install DESTDIR='$(3)' endef