blob: 8ac029bb4c434b6c18681b15f561c2369eead77d [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
CROS_WORKON_COMMIT="acd8e49e811eeb347db6f42072b4eb2aed32da21"
CROS_WORKON_TREE="2441a1079168a468fd78a86658d17cc7074b0955"
EAPI=2
CROS_WORKON_PROJECT="chromiumos/third_party/khronos"
inherit cros-workon
DESCRIPTION="OpenGL|ES headers."
HOMEPAGE="http://www.khronos.org/opengles/2_X/"
SRC_URI=""
LICENSE="SGI-B-2.0"
SLOT="0"
KEYWORDS="x86 arm"
IUSE=""
RDEPEND=""
DEPEND=""
CROS_WORKON_LOCALNAME="khronos"
src_install() {
# headers
insinto /usr/include/EGL
doins "${S}/include/EGL/egl.h"
doins "${S}/include/EGL/eglplatform.h"
doins "${S}/include/EGL/eglext.h"
insinto /usr/include/KHR
doins "${S}/include/KHR/khrplatform.h"
insinto /usr/include/GLES2
doins "${S}/include/GLES2/gl2.h"
doins "${S}/include/GLES2/gl2ext.h"
doins "${S}/include/GLES2/gl2platform.h"
}