# Template file for 'libgltf'
pkgname=libgltf
version=0.0.2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel glew-devel glu-devel glm"
short_desc="C++ Library for rendering OpenGL models stored in glTF format"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL"
homepage="http://www.libreoffice.org"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=d1cc7297ed1921aa969e26413b4c4e18afc882ce4d2f5a2aa2a2905706f7206b

libgltf-devel_package() {
	depends="libgltf>=${version}_${revision} $makedepends"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.la"
		vmove "usr/lib/*.so"
	}
}
