1 #Maintainer: kfgz <kfgz at interia pl>
6 pkgdesc="Math library for 3D graphics"
7 url="http://gfxtools.sourceforge.net/"
13 _svntrunk="http://gfxtools.svn.sourceforge.net/svnroot/gfxtools/libvmath"
17 if [ -d ${_svnmod}/.svn ]; then
18 (cd ${_svnmod} && svn up -r ${pkgver})
20 svn co ${_svntrunk} --config-dir ./ -r 55 ${_svnmod}
23 msg "SVN checkout done or server timeout"
24 msg "Starting make..."
27 sed -i "s/O3/O2/g" configure
28 ./configure --prefix=/usr
34 install -dm755 ${pkgdir}/usr/{lib,lib/pkgconfig,include/vmath,share/doc/libvmath}
35 install -m644 libvmath.a ${pkgdir}/usr/lib
36 install -m755 libvmath.so ${pkgdir}/usr/lib
37 install -m644 vmath.pc ${pkgdir}/usr/lib/pkgconfig
38 install -m644 README ${pkgdir}/usr/share/doc/libvmath
40 install -m644 *.h *.inl ${pkgdir}/usr/include/vmath