1 # Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
6 pkgdesc="Modeling NodeKit for OpenSceneGraph"
8 url="http://code.google.com/p/osgmodeling/"
9 depends=('openscenegraph>=2.6.0')
10 builddepends=('cmake>=2.4')
12 source=(http://${pkgname}.googlecode.com/files/osgModeling-${pkgver}-src.tar.gz osgmodeling.pc)
13 md5sums=('e91c821d34e7afb7e7c97f84a7b3e880'
14 'b5ed08eb05f0c1bd93e359701eb5be89')
17 cd ${srcdir}/osgModeling
18 cmake . -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_PLUGINS=ON -DCMAKE_INSTALL_PREFIX="/usr"
20 make DESTDIR=${pkgdir} install || return 1
21 mkdir -p ${pkgdir}/usr/lib/pkgconfig
22 cp ../../osgmodeling.pc ${pkgdir}/usr/lib/pkgconfig/