2014-11-13 19:02:57 +00:00
|
|
|
# Template file for 'glfw'
|
|
|
|
pkgname=glfw
|
|
|
|
version=3.0.4
|
2014-11-21 09:41:25 +00:00
|
|
|
revision=2
|
2014-11-13 19:02:57 +00:00
|
|
|
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"
|
2014-11-21 09:41:25 +00:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-11-13 19:02:57 +00:00
|
|
|
license="BSD-3"
|
|
|
|
homepage="http://www.glfw.org"
|
2014-11-23 11:02:31 +00:00
|
|
|
update_ignore='*WIN*'
|
2014-11-13 19:02:57 +00:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|