2014-11-13 20:02:57 +01:00
|
|
|
# Template file for 'glfw'
|
|
|
|
pkgname=glfw
|
2015-01-19 23:35:20 +01:00
|
|
|
version=3.1
|
|
|
|
revision=1
|
2014-11-13 20:02:57 +01:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
2015-01-19 23:35:20 +01:00
|
|
|
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel libXcursor-devel"
|
2014-11-13 20:02:57 +01:00
|
|
|
short_desc="Multi-platform library for creating windows with OpenGL contexts"
|
2014-11-21 10:41:25 +01:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2014-11-13 20:02:57 +01:00
|
|
|
license="BSD-3"
|
|
|
|
homepage="http://www.glfw.org"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2015-01-19 23:35:20 +01:00
|
|
|
checksum=2f45a9b6c9d3f26dc40c244026d83939d01cdbea60c63c9246ebe3853265cb1d
|
2014-11-13 20:02:57 +01: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"
|
|
|
|
}
|
|
|
|
}
|