1 # Contributor: Juan Diego Tascon
6 pkgdesc="Library that simplifies the development of augmented reality"
8 url="http://www.artoolworks.com/community/osgart/index.html"
10 depends=('artoolkit' 'openscenegraph-uw')
11 source=("http://www.artoolworks.com/dist/osgart/release/${pkgver}/osgART-${pkgver}.tar.bz2")
12 md5sums=('740978cbdb6663f8bfd71086042f3cd4')
16 cd ${startdir}/src/osgART/bin
18 export CXXFLAGS="${CXXFLAGS} -include cstring -include cstdlib -include iostream -include memory -include typeinfo"
19 make CXXFLAGS="$CXXFLAGS" || return 1
21 mkdir -p ${startdir}/pkg/usr/{lib,bin,share,include}
22 cp -f *.so ${startdir}/pkg/usr/lib
23 cp -f osgart_example ${startdir}/pkg/usr/bin
24 cp -rf ../include/* ${startdir}/pkg/usr/include
26 mkdir -p ${startdir}/pkg/usr/share/osgART/examples
27 cp -rf Data images models shaders videos ${startdir}/pkg/usr/share/osgART
30 rm -rf osgART osgWrappers Scripts
31 cp -rf * ${startdir}/pkg/usr/share/osgART/examples