void-packages/srcpkgs/glfw/template

27 lines
795 B
Bash
Raw Normal View History

2014-11-13 19:02:57 +00:00
# Template file for 'glfw'
pkgname=glfw
2015-10-13 07:11:56 +00:00
version=3.1.2
2015-01-19 22:35:20 +00:00
revision=1
2014-11-13 19:02:57 +00:00
build_style=cmake
hostmakedepends="cmake"
2015-01-20 07:59:54 +00:00
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel libXcursor-devel
libXinerama-devel"
2014-11-13 19:02:57 +00:00
short_desc="Multi-platform library for creating windows with OpenGL contexts"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-11-13 19:02:57 +00:00
license="BSD-3"
homepage="http://www.glfw.org"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
2015-10-13 07:11:56 +00:00
checksum=31a1e6b6d7c64bbf44dce623785c87c0f29d965b19c452828e48acd64fa643e7
2014-11-13 19:02:57 +00:00
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"
}
}