view src/build-xz.mk @ 3745:e3c3beae094b

nsis: install native bins to build tools path * src/nsis.mk: set PREFIX_BIN=$(BUILD_TOOLS_PREFIX)/bin
author John Donoghue
date Wed, 26 Nov 2014 12:20:39 -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