diff src/cairo.mk @ 1444:560b3cb89bab

improved upgrade script of packages: cairo cairomm pixman
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 28 Nov 2010 17:46:40 +0100
parents 26fbdea21f7e
children 596de862613d
line wrap: on
line diff
--- a/src/cairo.mk	Sun Nov 28 17:41:46 2010 +0100
+++ b/src/cairo.mk	Sun Nov 28 17:46:40 2010 +0100
@@ -13,9 +13,8 @@
 $(PKG)_DEPS     := gcc zlib libpng fontconfig freetype pixman
 
 define $(PKG)_UPDATE
-    wget -q -O- 'http://cairographics.org/releases/' | \
-    grep 'LATEST-cairo-' | \
-    $(SED) -n 's,.*"LATEST-cairo-\([0-9][^"]*\)".*,\1,p' | \
+    wget -q -O- 'http://cairographics.org/releases/?C=M;O=D' | \
+    $(SED) -n 's,.*"cairo-\([0-9][^"]*\)\.tar.*,\1,p' | \
     head -1
 endef