diff src/libshout.mk @ 800:3eba8075e121

implemented version recognition and corrected website URLs for packages gst-plugins-base, gst-plugins-good, gstreamer, liboil and libshout
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 23 Feb 2010 14:08:36 +0100
parents 0292c7229519
children 9993be51f18d
line wrap: on
line diff
--- a/src/libshout.mk	Tue Feb 23 13:48:36 2010 +0100
+++ b/src/libshout.mk	Tue Feb 23 14:08:36 2010 +0100
@@ -8,12 +8,14 @@
 $(PKG)_CHECKSUM := cabc409e63f55383f4d85fac26d3056bf0365aac
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE  := http://www.icecast.org
+$(PKG)_WEBSITE  := http://www.icecast.org/
 $(PKG)_URL      := http://downloads.us.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
 $(PKG)_DEPS     := gcc vorbis ogg theora speex
 
 define $(PKG)_UPDATE
-    echo "Update not implemented"
+    wget -q -O- 'http://www.icecast.org/download.php' | \
+    $(SED) -n 's,.*libshout-\([0-9][^>]*\)\.tar.*,\1,p' | \
+    head -1
 endef
 
 define $(PKG)_BUILD