summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-10-27 14:41:53 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-10-27 14:41:53 +0000
commit82adb4a6b1c088730d6cab7869ec5d6d6dffc7c7 (patch)
treed473dbaf69980c3e04dead0ddc650f586a4c9eca /dev-lang/cilk/cilk-5.4.6.ebuild
parentallow build type to be overridden via $CMAKE_BUILD_TYPE (diff)
downloadgentoo-2-82adb4a6b1c088730d6cab7869ec5d6d6dffc7c7.tar.gz
gentoo-2-82adb4a6b1c088730d6cab7869ec5d6d6dffc7c7.tar.bz2
gentoo-2-82adb4a6b1c088730d6cab7869ec5d6d6dffc7c7.zip
Initial import to the main tree. Only minor modifications from the overlay
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-lang/cilk/cilk-5.4.6.ebuild')
-rw-r--r--dev-lang/cilk/cilk-5.4.6.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-lang/cilk/cilk-5.4.6.ebuild b/dev-lang/cilk/cilk-5.4.6.ebuild
new file mode 100644
index 000000000000..2e463f0da68f
--- /dev/null
+++ b/dev-lang/cilk/cilk-5.4.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6.ebuild,v 1.1 2008/10/27 14:41:53 bicatali Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Language for multithreaded parallel programming based on ANSI C."
+HOMEPAGE="http://supertech.csail.mit.edu/${PN}/"
+SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+src_compile() {
+ # cilk compiler doesn't like this flags...
+ filter-flags "-pipe"
+ filter-flags "-ggdb"
+ econf
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc NEWS README THANKS
+
+ insinto /usr/share/doc/${PF}
+ use doc && doins doc/manual.pdf
+ use examples && doins -r examples
+}