summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.html2
-rw-r--r--src/lensfun.mk10
2 files changed, 6 insertions, 6 deletions
diff --git a/index.html b/index.html
index a5f8336..9f90eee 100644
--- a/index.html
+++ b/index.html
@@ -1475,7 +1475,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
</tr>
<tr>
<td class="package">lensfun</td>
- <td class="website"><a href="http://lensfun.berlios.de/">lensfun</a></td>
+ <td class="website"><a href="http://lensfun.sourceforge.net/">lensfun</a></td>
</tr>
<tr>
<td class="package">levmar</td>
diff --git a/src/lensfun.mk b/src/lensfun.mk
index ee09566..a324808 100644
--- a/src/lensfun.mk
+++ b/src/lensfun.mk
@@ -7,14 +7,14 @@ $(PKG)_VERSION := 0.2.8
$(PKG)_CHECKSUM := 0e85eb7692620668d27e2303687492ad68c90eb4
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
-$(PKG)_URL := http://download.berlios.de/lensfun/$($(PKG)_FILE)
+$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/lensfun/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc libpng glib libgnurx
define $(PKG)_UPDATE
- $(WGET) -q -O- "http://developer.berlios.de/project/showfiles.php?group_id=9034" | \
- grep -i 'lensfun.*tar' | \
- $(SED) -n 's,.*lensfun-\([0-9][^>]*\)\.tar.*,\1,p' | \
- head -1
+ $(WGET) -q -O- 'http://sourceforge.net/projects/lensfun/files/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ sort -V | \
+ tail -1
endef
define $(PKG)_BUILD