/[gentoo-x86]/dev-lang/cilk/cilk-5.4.6.ebuild
Gentoo

Contents of /dev-lang/cilk/cilk-5.4.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jan 22 03:35:44 2011 UTC (2 years, 3 months ago) by bicatali
Branch: MAIN
Changes since 1.1: +10 -6 lines
Fixed for glibc-2.12. Added static-libs flag, moved to EAPI=2

(Portage version: 2.1.9.34/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/cilk/cilk-5.4.6.ebuild,v 1.1 2008/10/27 14:41:53 bicatali Exp $
4
5 EAPI=2
6 inherit flag-o-matic
7
8 DESCRIPTION="Language for multithreaded parallel programming based on ANSI C."
9 HOMEPAGE="http://supertech.csail.mit.edu/${PN}/"
10 SRC_URI="http://supertech.csail.mit.edu/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="doc examples static-libs"
16
17 src_prepare() {
18 # cilk compiler doesn't like this flags...
19 filter-flags "-pipe"
20 filter-flags "-ggdb"
21 append-cppflags -D_XOPEN_SOURCE=500
22 }
23
24 src_configure() {
25 econf $(use_enable static-libs static)
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die "emake install failed."
30 dodoc NEWS README THANKS
31
32 insinto /usr/share/doc/${PF}
33 use doc && doins doc/manual.pdf
34 use examples && doins -r examples
35 }

  ViewVC Help
Powered by ViewVC 1.1.13