package openscenegraph: use developer releases instead of trunk

This commit is contained in:
Tony Theodore 2013-04-24 14:49:56 +10:00
parent 464ae21322
commit 12b1744b63
2 changed files with 7 additions and 7 deletions

View File

@ -1823,7 +1823,7 @@ aptitude -t squeeze-backports install cmake yasm</pre>
</tr>
<tr>
<td id="openscenegraph-package">openscenegraph</td>
<td id="openscenegraph-version">d0aca5e</td>
<td id="openscenegraph-version">3.1.5</td>
<td id="openscenegraph-website"><a href="http://www.openscenegraph.org/">OpenSceneGraph</a></td>
</tr>
<tr>

View File

@ -3,15 +3,15 @@
PKG := openscenegraph
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := e0768e7026be239e1089f65ee0655bdda8b5949f
$(PKG)_SUBDIR := openscenegraph-osg-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/$(PKG)/osg/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_CHECKSUM := e1b80206572d681fe624b4c8076674aa5efd6b29
$(PKG)_SUBDIR := OpenSceneGraph-$($(PKG)_VERSION)
$(PKG)_FILE := OpenSceneGraph-$($(PKG)_VERSION).zip
$(PKG)_URL := http://www.openscenegraph.org/downloads/developer_releases/$($(PKG)_FILE)
$(PKG)_DEPS := gcc boost curl dcmtk ffmpeg freetype gdal giflib gta jasper jpeg libpng openal openexr poppler qt tiff xine-lib zlib
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://github.com/$(PKG)/osg/commits/master' | \
$(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
$(WGET) -q -O- 'http://www.openscenegraph.org/downloads/developer_releases/?C=M;O=D' | \
$(SED) -n 's,.*OpenSceneGraph-\([0-9][^<]*\)\.zip.*,\1,p' | \
head -1
endef