improved version recognition for packages: libpng pixman x264

This commit is contained in:
Volker Grabsch 2011-04-22 16:35:38 +02:00
parent a6c9bec5bd
commit 036a123118
3 changed files with 3 additions and 5 deletions

View File

@ -20,7 +20,7 @@ define $(PKG)_UPDATE
grep -v alpha | \
grep -v beta | \
grep -v rc | \
grep -v '^1\.2\.' | \
grep -v '^1\.4\.' | \
head -1
endef

View File

@ -14,7 +14,7 @@ $(PKG)_URL_2 := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_F
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://cairographics.org/releases/?C=M;O=D' | \
wget -q -O- 'http://cairographics.org/snapshots/?C=M;O=D' | \
$(SED) -n 's,.*"pixman-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef

View File

@ -13,9 +13,7 @@ $(PKG)_URL := http://download.videolan.org/pub/videolan/$(PKG)/snapshots/$(
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://ftp.videolan.org/pub/videolan/x264/snapshots/' | \
$(SED) -n 's,.*<a href="x264-snapshot-\([0-9][^"]*\)\.tar.*,\1,p' | \
tail -1
date -d yesterday +%Y%m%d-2245
endef
define $(PKG)_BUILD