package openscenegraph: use osg git mirror and update package

http://www.openscenegraph.org/projects/osg/wiki/Downloads/GIT
This commit is contained in:
Tony Theodore 2013-02-15 20:00:51 +11:00
parent 1b5aa61e93
commit e07a526aeb
2 changed files with 5 additions and 6 deletions

View File

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

View File

@ -3,15 +3,14 @@
PKG := openscenegraph
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := 3e1b13d17cea0c729389ce440e73ff9d8962e0ae
$(PKG)_SUBDIR := tonytheodore-$(PKG)-$($(PKG)_VERSION)
$(PKG)_CHECKSUM := bcadb821dd962eb38c9998eadddd836d029610f0
$(PKG)_SUBDIR := openscenegraph-osg-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/tonytheodore/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_URL := https://github.com/$(PKG)/osg/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc boost curl dcmtk ffmpeg freetype gdal giflib jasper jpeg libpng openal openexr poppler qt tiff xine-lib zlib
define $(PKG)_UPDATE
echo 'info: sync latest with git svn rebase; git push origin master' >&2;
$(WGET) -q -O- 'https://github.com/tonytheodore/$(PKG)/commits/master' | \
$(WGET) -q -O- 'https://github.com/$(PKG)/osg/commits/master' | \
$(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
head -1
endef