void-packages/srcpkgs/libgltf/template
2018-07-21 18:26:49 +02:00

25 lines
797 B
Bash

# Template file for 'libgltf'
pkgname=libgltf
version=0.1.0
revision=2
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.eu>"
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/*.la"
vmove "usr/lib/*.so"
}
}