void-packages/srcpkgs/libgltf/template

25 lines
744 B
Bash
Raw Normal View History

2014-10-10 13:51:58 +00:00
# Template file for 'libgltf'
pkgname=libgltf
version=0.0.2
revision=2
2014-10-10 13:51:58 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel glew-devel>=1.12.0 glu-devel glm"
2014-10-10 13:51:58 +00:00
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"
}
}