#Maintainer: Maximus (maximuus[at]gmail[dot]com) pkgname=OpenSceneGraph pkgver=2.7.8 pkgrel=1 zenver=54 arch=i486 source=("http://www.openscenegraph.org/downloads/developer_releases/$pkgname-$pkgver.zip") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/maximus/$pkgname/$pkgver docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url="http://www.openscenegraph.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "OpenSceneGraph - an open source 3D graphics toolkit" "The OpenSceneGraph is an open source high performance 3D graphics" "toolkit, used by application developers in fields such as visual" "simulation, games, virtual reality, scientific visualization and" "modelling. Written entirely in Standard C++ and OpenGL it runs on all" "Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and" "FreeBSD operating systems. The OpenSceneGraph is now well established" "as the world leading scene graph technology, used widely in the" "vis-sim, space, scientific, oil-gas, games and virtual reality" "industries." ) build() { cd $startdir/src/$pkgname-$pkgver cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_FLAGS="-02 -march=i686 -mtune=i686" -D CMAKE_C_FLAGS="-02 -march=i686 -mtune=i686" \ -D CMAKE_INSTALL_PREFIX:PATH="/usr" $startdir/src/$pkgname-$pkgver make || return 1 make install DESTDIR=$startdir/pkg }