26 lines
807 B
Bash
26 lines
807 B
Bash
# Template file for 'glfw'
|
|
# update together with glfw-wayland
|
|
pkgname=glfw
|
|
version=3.3.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
|
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.org>"
|
|
license="Zlib"
|
|
homepage="http://www.glfw.org"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=ec5764961bb9262d5a5c24523b1522d121d7a7b06ce2affe921c6d438324cc8d
|
|
|
|
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"
|
|
}
|
|
}
|