summaryrefslogtreecommitdiff
blob: 931064fb9f99a03b0e154232a62e01c27d6af801 (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
32
33
34
35
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cloog-ppl/cloog-ppl-0.15.3.ebuild,v 1.2 2009/05/07 22:09:31 halcy0n Exp $

EAPI=2

inherit autotools

DESCRIPTION="Port of CLooG (Chunky LOOp Generator) to PPL (Parma Polyhedra Library)"
HOMEPAGE="http://repo.or.cz/w/cloog-ppl.git"
SRC_URI="ftp://gcc.gnu.org/pub/gcc/infrastructure/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-libs/ppl-0.10
		dev-libs/gmp"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${PN}"

src_prepare() {
	mkdir "${S}"/m4
	eautoreconf
}

src_configure() {
	econf --with-ppl || die "econf failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
}