Mercurial > mxe-octave
view src/xz.mk @ 6397:10d35dbdf84b release
* tools/makeinst-script.sh.in: use users appdir for removal of settings (Bug #62352)
(grafted from eb58a62c878e1fac2515b0ec7c7c361ae69e0bc5)
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 03 Sep 2022 18:33:31 -0400 |
parents | d58c36155054 |
children | 911067b5ae67 |
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.5 $(PKG)_CHECKSUM := 0b9d1e06b59f7fe0796afe1d93851b9306b4a3b6 $(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