package openscenegraph: ignore development version in update script

This commit is contained in:
Tony Theodore 2012-12-12 23:13:50 +11:00
parent 768b553fe5
commit 49ccc6c2f7
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ $(PKG)_DEPS := gcc curl ffmpeg freetype gdal giflib jasper jpeg libpng opene
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/tags?order=date&desc=1' | \
grep '<a ' | \
$(SED) -n 's,.*>OpenSceneGraph-\([0-9][^<]*\)<.*,\1,p' | \
grep -v '^2\.9\.' | \
$(SED) -n 's,.*>OpenSceneGraph-\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
head -1
endef