Mercurial > mxe-octave
comparison src/apr-util.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 | 951da75fd09c |
children | 11f8ec654cd4 |
comparison
equal
deleted
inserted
replaced
3047:e7b7b0f663d3 | 3048:5ef49fb3299d |
---|---|
6 $(PKG)_CHECKSUM := f5aaf15542209fee479679299dc4cb1ac0924a59 | 6 $(PKG)_CHECKSUM := f5aaf15542209fee479679299dc4cb1ac0924a59 |
7 $(PKG)_SUBDIR := apr-util-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := apr-util-$($(PKG)_VERSION) |
8 $(PKG)_FILE := apr-util-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := apr-util-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) | 9 $(PKG)_URL := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) |
10 $(PKG)_URL_2 := http://archive.apache.org/dist/apr/$($(PKG)_FILE) | 10 $(PKG)_URL_2 := http://archive.apache.org/dist/apr/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc apr expat libiconv | 11 $(PKG)_DEPS := apr expat libiconv |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://apr.apache.org/download.cgi' | \ | 14 $(WGET) -q -O- 'http://apr.apache.org/download.cgi' | \ |
15 grep 'aprutil1.*best' | | 15 grep 'aprutil1.*best' | |
16 $(SED) -n 's,.*APR-util \([0-9.]*\).*,\1,p' | 16 $(SED) -n 's,.*APR-util \([0-9.]*\).*,\1,p' |