view src/build-xz.mk @ 3737:c9e54aa12e0e

xz: update to version 5.0.7 * src/xz.mk: update version, checksum * src/build-xz.mk: update version, checksum
author John Donoghue
date Wed, 12 Nov 2014 15:05:45 -0500
parents 214ad32cab26
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