summaryrefslogtreecommitdiffstats
path: root/src/cppunit.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-04 04:32:43 (GMT)
committerMXE <mxe@mxe.cc>2014-09-04 04:33:08 (GMT)
commit51560cce78daffcaea6ee78886085c3c443af912 (patch)
tree312a2af6712b801989d18a5fb58aa553d5861775 /src/cppunit.mk
parent34b7c9a22b1d133aad3b0574acdbdfb540bde793 (diff)
downloadmxe-51560cce78daffcaea6ee78886085c3c443af912.zip
mxe-51560cce78daffcaea6ee78886085c3c443af912.tar.gz
mxe-51560cce78daffcaea6ee78886085c3c443af912.tar.bz2
cppunit: Fix update macro
Diffstat (limited to 'src/cppunit.mk')
-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