summaryrefslogtreecommitdiffstats
path: root/src/pfstools.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-12-02 19:31:45 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-12-02 19:31:45 (GMT)
commit77f47c13ca7d6e60d93436d853608ac225e5fa64 (patch)
treef8b9543065dd935bd0fada5dd96f0ca40f3164a2 /src/pfstools.mk
parente9720327c61aceb39e591a2341b3a7d270f11329 (diff)
downloadmxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.zip
mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.gz
mxe-77f47c13ca7d6e60d93436d853608ac225e5fa64.tar.bz2
improved update script of all remaining SourceForge packages
Diffstat (limited to 'src/pfstools.mk')
-rw-r--r--src/pfstools.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pfstools.mk b/src/pfstools.mk
index 2529fe5..d3b3955 100644
--- a/src/pfstools.mk
+++ b/src/pfstools.mk
@@ -7,15 +7,15 @@ $(PKG)_IGNORE :=
$(PKG)_VERSION := 1.8.2
$(PKG)_CHECKSUM := 6109587b0f8e53d1d963e9e02f7298bf0d197d5d
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE := http://pfstools.sourceforge.net/
+$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
+$(PKG)_WEBSITE := http://$(PKG).sourceforge.net/
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pfstools/files/) | \
- $(SED) -n 's,.*pfstools-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://sourceforge.net/projects/pfstools/files/pfstools/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
endef
define $(PKG)_BUILD