Mercurial > mxe-octave
comparison src/libxml2.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 | a684a0d16101 |
comparison
equal
deleted
inserted
replaced
3047:e7b7b0f663d3 | 3048:5ef49fb3299d |
---|---|
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := a43d7c0a8e463ac5a7846254f2a732a9af146fab | 6 $(PKG)_CHECKSUM := a43d7c0a8e463ac5a7846254f2a732a9af146fab |
7 $(PKG)_SUBDIR := libxml2-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := libxml2-$($(PKG)_VERSION) |
8 $(PKG)_FILE := libxml2-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := libxml2-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := ftp://xmlsoft.org/libxml2/$($(PKG)_FILE) | 9 $(PKG)_URL := ftp://xmlsoft.org/libxml2/$($(PKG)_FILE) |
10 $(PKG)_DEPS := gcc xz | 10 $(PKG)_DEPS := xz |
11 | 11 |
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 $(WGET) -q -O- 'http://git.gnome.org/browse/libxml2/refs/tags' | \ | 13 $(WGET) -q -O- 'http://git.gnome.org/browse/libxml2/refs/tags' | \ |
14 grep '<a href=' | \ | 14 grep '<a href=' | \ |
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=v\\([0-9][^']*\\)'.*,\\1,p" | \ | 15 $(SED) -n "s,.*<a href='[^']*/tag/?id=v\\([0-9][^']*\\)'.*,\\1,p" | \ |