summaryrefslogtreecommitdiffstats
path: root/src/cunit.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/cunit.mk')
-rw-r--r--src/cunit.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cunit.mk b/src/cunit.mk
index dc8ff1c..1b49e0d 100644
--- a/src/cunit.mk
+++ b/src/cunit.mk
@@ -13,9 +13,9 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/cunit/CUnit/$($(PKG)_VER
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/cunit/files/) | \
- $(SED) -n 's,.*CUnit-\([0-9][^>]*\)-src\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/cunit/files/CUnit/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD