blob: 4c3ca97a753668b8b862b6e74a92f88bc0806106 (
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
36
37
38
39
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ppl/ppl-0.10.ebuild,v 1.1 2008/11/30 02:59:13 vapier Exp $
DESCRIPTION="The Parma Polyhedra Library (PPL) is a modern and reasonably complete library providing numerical abstractions especially targeted at applications in the field of analysis and verification of complex systems"
HOMEPAGE="http://www.cs.unipr.it/ppl/"
SRC_URI="http://www.cs.unipr.it/ppl/Download/ftp/releases/${PV}/${P}.tar.bz2
ftp://ftp.cs.unipr.it/pub/ppl/releases/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
IUSE="prolog"
RDEPEND="prolog? ( dev-lang/swi-prolog )"
DEPEND="${RDEPEND}
sys-devel/m4"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "/have_swi_prolog=/s:=.*:=$(use prolog && echo yes || echo no):" \
-e '/^docdir=.${datadir}.doc.ppl./d' \
configure
}
src_compile() {
econf --docdir=/usr/share/doc/${PF} || die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
cd /usr/share/doc/${PF}
mkdir html
mv *-html html/
prepalldocs
}
|