Mercurial > mxe-octave
changeset 3185:5355c07c92b7
build our own copy of xz utility
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 05 Aug 2013 11:31:30 -0400 |
parents | 6c87330db7c6 |
children | cc6327967503 |
files | Makefile.in dist-files.mk index.html src/build-xz.mk |
diffstat | 4 files changed, 31 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Mon Jul 29 21:25:59 2013 -0400 +++ b/Makefile.in Mon Aug 05 11:31:30 2013 -0400 @@ -115,7 +115,7 @@ endif REQUIREMENTS := bash bzip2 $(MAKE) openssl $(PATCH) $(PERL) \ - $(SED) tar unzip wget xz + $(SED) tar unzip wget ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) REQUIREMENTS += bsdtar
--- a/dist-files.mk Mon Jul 29 21:25:59 2013 -0400 +++ b/dist-files.mk Mon Aug 05 11:31:30 2013 -0400 @@ -29,6 +29,7 @@ build-pkg-config-1-fixes.patch \ build-pkg-config.mk \ build-texinfo.mk \ + build-xz.mk \ bzip2.mk \ cairo-2-static-init.patch \ cairo.mk \
--- a/index.html Mon Jul 29 21:25:59 2013 -0400 +++ b/index.html Mon Aug 05 11:31:30 2013 -0400 @@ -1039,6 +1039,11 @@ <td id="build-texinfo-website"><a href="http://www.gnu.org/software/texinfo">texinfo</a></td> </tr> <tr> + <td id="build-xz-package">xz</td> + <td id="build-xz-version">5.0.4</td> + <td id="build-xz-website"><a href="http://tukaani.org/xz/">XZ</a></td> + </tr> + <tr> <td id="bzip2-package">bzip2</td> <td id="bzip2-version">1.0.6</td> <td id="bzip2-website"><a href="http://www.bzip.org/">bzip2</a></td>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/build-xz.mk Mon Aug 05 11:31:30 2013 -0400 @@ -0,0 +1,24 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := build-xz +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 3e976d7715fde43422572c70f927bfdae56a94c3 +$(PKG)_SUBDIR := xz-$($(PKG)_VERSION) +$(PKG)_FILE := xz-$($(PKG)_VERSION).tar.gz +$(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' \ + --prefix='$(BUILD_TOOLS_PREFIX)' \ + --disable-threads \ + --disable-nls + $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install +endef