view src/build-xz.mk @ 3739:6dc67bfb5958

ltfat: add of-ltfat package * Makefile.in: add ltfat for OCTAVE_FORGE_PACKAGES * build_packages: add build of ltfat-2.0.1.tar.gz * dist-files.mk: add of-ltfat.mk, of-ltfat-1-mingw-fixes.patch * index.html: add of-ltfat package. * src/of-ltfat-1-mingw-fixes.patch: new file * src/of-ltfat.mk: new file.
author John Donoghue
date Tue, 25 Nov 2014 12:54:23 -0500
parents c9e54aa12e0e
children bdc0c36d5dbc
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-xz
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.0.7
$(PKG)_CHECKSUM := da6d81015333785fc9399ab129e6f53fe1cbf350
$(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)' -j '$(JOBS)' install
endef