Mercurial > mxe-octave
changeset 994:07e346dfcd76
improved version recognition of packages binutils and gcc
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 20 May 2010 22:38:49 +0200 |
parents | be3969597cbd |
children | ca1299bb06e3 |
files | src/binutils.mk src/gcc.mk |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/binutils.mk Thu May 20 22:31:36 2010 +0200 +++ b/src/binutils.mk Thu May 20 22:38:49 2010 +0200 @@ -14,10 +14,8 @@ $(PKG)_DEPS := define $(PKG)_UPDATE - wget -q -O- 'http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/?cvsroot=src' | \ - grep '<OPTION>binutils-' | \ - $(SED) -n 's,.*binutils-\([0-9][0-9_]*\).*,\1,p' | \ - $(SED) 's,_,.,g' | \ + wget -q -O- 'http://ftp.gnu.org/gnu/binutils/?C=M;O=D' | \ + $(SED) -n 's,.*<a href="binutils-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef
--- a/src/gcc.mk Thu May 20 22:31:36 2010 +0200 +++ b/src/gcc.mk Thu May 20 22:38:49 2010 +0200 @@ -15,7 +15,6 @@ define $(PKG)_UPDATE wget -q -O- 'http://ftp.gnu.org/gnu/gcc/?C=M;O=D' | \ - grep '<a href="gcc-' | \ $(SED) -n 's,.*<a href="gcc-\([0-9][^"]*\)/".*,\1,p' | \ grep -v '^4\.4\.' | \ head -1