void-packages/srcpkgs/glfw/template
2016-06-06 13:37:16 +02:00

26 lines
793 B
Bash

# Template file for 'glfw'
pkgname=glfw
version=3.2
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel libXcursor-devel
libXinerama-devel"
short_desc="Multi-platform library for creating windows with OpenGL contexts"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="BSD-3"
homepage="http://www.glfw.org"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=f45e255b668e9cb3d814f7f6ad2b5744a2d60ffa52cf06e5d198b5fa793e21ce
configure_args="-DBUILD_SHARED_LIBS=ON"
glfw-devel_package() {
depends="glfw>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove /usr/lib/cmake
vmove "usr/lib/*.so"
}
}