summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lensfun.mk10
1 files changed, 5 insertions, 5 deletions
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