25 lines
749 B
Text
25 lines
749 B
Text
# Template file for 'glfw'
|
|
pkgname=glfw
|
|
version=3.0.4
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="cmake"
|
|
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel"
|
|
short_desc="Multi-platform library for creating windows with OpenGL contexts"
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
license="BSD-3"
|
|
homepage="http://www.glfw.org"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=4f09d70b9e341c8613873cadb51d9e40a67982b5bb919e024783cec7ac09efc0
|
|
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"
|
|
}
|
|
}
|