Mercurial > mxe-octave
changeset 1461:c7f82b5c65a2
improved update script of package cppunit
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 01 Dec 2010 03:35:36 +0100 |
parents | 8d3d9c28aaa2 |
children | 61dda1d437e2 |
files | src/cppunit.mk |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cppunit.mk Wed Dec 01 03:34:13 2010 +0100 +++ b/src/cppunit.mk Wed Dec 01 03:35:36 2010 +0100 @@ -13,9 +13,9 @@ $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cppunit/files/) | \ - $(SED) -n 's,.*cppunit-\([0-9][^>]*\)\.tar.*,\1,p' | \ - tail -1 + wget -q -O- 'http://sourceforge.net/projects/cppunit/files/cppunit/?sort=date&sortdir=desc' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 endef define $(PKG)_BUILD