diff src/liboil.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 d7f10217208d
line wrap: on
line diff
--- a/src/liboil.mk	Tue Feb 23 13:48:36 2010 +0100
+++ b/src/liboil.mk	Tue Feb 23 14:08:36 2010 +0100
@@ -8,12 +8,14 @@
 $(PKG)_CHECKSUM := f9d7103a3a4a4089f56197f81871ae9129d229ed
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE  := http://$(PKG).freedesktop.org
+$(PKG)_WEBSITE  := http://$(PKG).freedesktop.org/
 $(PKG)_URL      := http://$(PKG).freedesktop.org/download/$($(PKG)_FILE)
 $(PKG)_DEPS     := gcc 
 
 define $(PKG)_UPDATE
-    echo "Update not implemented"
+    wget -q -O- 'http://cgit.freedesktop.org/liboil/refs/tags' | \
+    $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
+    head -1
 endef
 
 define $(PKG)_BUILD