void-packages/srcpkgs/libgltf/template

27 lines
820 B
Bash

# Template file for 'libgltf'
pkgname=libgltf
version=0.1.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel glew-devel glu-devel glm libepoxy-devel"
short_desc="C++ Library for rendering OpenGL models stored in glTF format"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL"
homepage="http://www.libreoffice.org"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=119e730fbf002dd0eaafa4930167267d7d910aa17f29979ca9ca8b66625fd2da
CXXFLAGS="-DGLM_ENABLE_EXPERIMENTAL"
libgltf-devel_package() {
depends="libgltf>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
}
}