summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cppunit.mk5
1 files 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