Mercurial > mxe-octave
view src/xz.mk @ 5956:b8e9589b7794
octave-launch: Use Unicode strings in Windows API functions.
* installer-files/octave-launch.c: Use wchar_t and Unicode Windows API
functions. Use safe functions where applicable.
* binary-dist-rules.mk: Compile as Unicode-aware executable.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 20 Nov 2021 14:09:41 +0100 |
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