blob: 2e463f0da68fffdc20cf8998ef66e363169a6926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}
|