mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] xz.mk changes for 5.0.0


From: Gareth Coco
Subject: [Mingw-cross-env-list] xz.mk changes for 5.0.0
Date: Wed, 10 Nov 2010 21:52:54 -0500

Hi,

I was building the cross compiler and xz has gone to a 5.0.0 release.
The following changes to xz.mk built fine for the release.
I don't use xz so I don't know if it works or not.

Gareth


> more src/xz.mk
# This file is part of mingw-cross-env.
# See doc/index.html for further information.

# XZ
PKG             := xz
$(PKG)_IGNORE   := 5.0.0
$(PKG)_VERSION  := 5.0.0
$(PKG)_CHECKSUM := bcce697d7f09584f0feb21e35b13a15ba7417a1f
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE  := http://tukaani.org/xz/
$(PKG)_URL      := http://tukaani.org/xz/$($(PKG)_FILE)
$(PKG)_DEPS     := gcc

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 \
        --host='$(TARGET)' \
        --prefix='$(PREFIX)/$(TARGET)' \
        --disable-shared \
        --disable-dynamic \
        --disable-threads \
        --disable-nls
    $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install
endef



reply via email to

[Prev in Thread] Current Thread [Next in Thread]