package openscenegraph: only update to stable releases

This commit is contained in:
Niels Kristian Bech Jensen 2013-11-19 13:50:42 +11:00 committed by Tony Theodore
parent 8fa45f9e97
commit 55bba23b54
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ $(PKG)_DEPS := gcc boost curl dcmtk ffmpeg freetype gdal giflib gta jasper j
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.openscenegraph.org/downloads/developer_releases/?C=M;O=D' | \
$(SED) -n 's,.*OpenSceneGraph-\([0-9][^<]*\)\.zip.*,\1,p' | \
$(SED) -n 's,.*OpenSceneGraph-\([0-9]*\.[0-9]*[02468]\.[^<]*\)\.zip.*,\1,p' | \
grep -v rc | \
$(SORT) -V | \
tail -1
endef