void-packages/srcpkgs/libgltf/template

25 lines
744 B
Plaintext

# Template file for 'libgltf'
pkgname=libgltf
version=0.0.2
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel glew-devel>=1.12.0 glu-devel glm"
short_desc="C++ Library for rendering OpenGL models stored in glTF format"
maintainer="Enno Boland <eb@s01.de>"
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"
}
}