void-packages/srcpkgs/libgltf/template

25 lines
736 B
Bash
Raw Normal View History

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