aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/fortrancl/fortrancl-0.1_alpha3.ebuild')
-rw-r--r--dev-libs/fortrancl/fortrancl-0.1_alpha3.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/fortrancl/fortrancl-0.1_alpha3.ebuild b/dev-libs/fortrancl/fortrancl-0.1_alpha3.ebuild
new file mode 100644
index 000000000..09ebd9338
--- /dev/null
+++ b/dev-libs/fortrancl/fortrancl-0.1_alpha3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils fortran-2
+
+MY_PV=${PV/_}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="OpenCL interface for Fortran 90"
+HOMEPAGE="http://code.google.com/p/fortrancl/"
+SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples static-libs"
+
+DEPEND="virtual/opencl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( AUTHORS ChangeLog README )
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_install() {
+ autotools-utils_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.{f90,cl}
+ fi
+}