Mercurial > mxe-octave
comparison src/xz.mk @ 3048:5ef49fb3299d
treat gcc and binutils as build tools
use a separate target for building the cmake toolchain file
don't unpack gcc or binutils if we are using the system compiler
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 14 Jun 2013 16:51:29 -0400 |
parents | bcc26ffe9a0f |
children | 13be64f9f16d |
comparison
equal
deleted
inserted
replaced
3047:e7b7b0f663d3 | 3048:5ef49fb3299d |
---|---|
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := 3e976d7715fde43422572c70f927bfdae56a94c3 | 6 $(PKG)_CHECKSUM := 3e976d7715fde43422572c70f927bfdae56a94c3 |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) | 9 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc | 10 $(PKG)_DEPS := |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 $(WGET) -q -O- 'http://tukaani.org/xz/' | \ | 13 $(WGET) -q -O- 'http://tukaani.org/xz/' | \ |
14 $(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 14 $(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
15 head -1 | 15 head -1 |