diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-04-10 03:12:37 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-04-10 03:12:37 (GMT) |
commit | f9c37942e2e3f9b912778a316a483836b1033bfb (patch) | |
tree | ae9d61ad174c39c200ebd3bda39e6b8fa4e038ad /src/gsl.mk | |
parent | 4d175a8f3d26dadca2604e282293c627c2567a1e (diff) | |
download | mxe-f9c37942e2e3f9b912778a316a483836b1033bfb.zip mxe-f9c37942e2e3f9b912778a316a483836b1033bfb.tar.gz mxe-f9c37942e2e3f9b912778a316a483836b1033bfb.tar.bz2 |
improved version recognition of package gsl
Diffstat (limited to 'src/gsl.mk')
-rw-r--r-- | src/gsl.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,14 +8,14 @@ $(PKG)_VERSION := 1.14 $(PKG)_CHECKSUM := e1a600e4fe359692e6f0e28b7e12a96681efbe52 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz -$(PKG)_WEBSITE := http://www.gnu.org/software/gsl/ +$(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/ $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - wget -q -O- 'http://www.gnu.org/software/gsl' | \ - grep -o "GSL-[0-9.]*" | \ - $(SED) -e s/GSL-//g -e s/'.$'//g | \ + wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \ + grep '<a class="list subject"' | \ + $(SED) -n 's,.*<a[^>]*>[^0-9>]*\([0-9][^>]*\)<.*,\1,p' | \ head -1 endef |