From 51560cce78daffcaea6ee78886085c3c443af912 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Wed, 3 Sep 2014 21:32:43 -0700 Subject: cppunit: Fix update macro --- src/cppunit.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cppunit.mk b/src/cppunit.mk index ccee38c..1f502c5 100644 --- a/src/cppunit.mk +++ b/src/cppunit.mk @@ -11,8 +11,9 @@ $(PKG)_URL := http://dev-www.libreoffice.org/src/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(WGET) -q -O- 'http://sourceforge.net/projects/cppunit/files/cppunit/' | \ - $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + $(WGET) -q -O- 'http://dev-www.libreoffice.org/src/' | \ + $(SED) -n 's,.*href="cppunit-\([0-9][^"]*\)\.tar.*,\1,p' | \ + $(SORT) -Vr | \ head -1 endef -- cgit v0.12