# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit base cmake-utils DESCRIPTION="FreeOCL is an implementation of the Open Computing Language 1.1 specifications targeting CPUs." HOMEPAGE="http://code.google.com/p/freeocl/" SRC_URI="http://freeocl.googlecode.com/files/FreeOCL-${PV}-src.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="sys-devel/gcc[openmp] dev-util/cmake" RDEPEND="sys-devel/gcc[openmp]" PATCHES=("$FILESDIR/freeocl-0.1.0-clSetCommandQueueProperty.patch") S="${WORKDIR}/FreeOCL-${PV}" src_install(){ cmake-utils_src_install insinto /usr/include/CL insopts -m0644 doins include/CL/* }