void-packages/srcpkgs/libgltf/template
Jürgen Buchmüller 2fc9c8ba79
libgltf: fix build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-06-21 20:47:06 +02:00

25 lines
797 B
Bash

# Template file for 'libgltf'
pkgname=libgltf
version=0.1.0
revision=1
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"
}
}