view src/build-xz.mk @ 3823:49b6bc966f5d

xz: update to v5.2.1 * src/build-xz.mk: update version, checksum * src/xz.mk: update version, checksum
author John Donoghue
date Tue, 03 Mar 2015 11:54:53 -0500
parents bdc0c36d5dbc
children f51f946b0487
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.2.1
$(PKG)_CHECKSUM := 6022493efb777ff4e872b63a60be1f1e146f3c0b
$(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