blob: d1efcf4a3b22aad6538f54654df12390a318108a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.1.13.ebuild,v 1.1 2007/03/17 03:57:06 markusle Exp $
inherit flag-o-matic toolchain-funcs multilib
DESCRIPTION="CLN, a class library (C++) for numbers"
HOMEPAGE="http://www.ginac.de/CLN/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${P}.tar.bz2
ftp://ftp.santafe.edu/pub/gnu/${P}.tar.bz2
ftp://ftp.ilog.fr/pub/Users/haible/gnu/${P}.tar.bz2"
DEPEND="dev-libs/gmp"
src_compile () {
econf --libdir=/usr/$(get_libdir) \
--datadir=/usr/share/doc/${P} || die "econf failed."
emake || die "make failed."
}
src_install () {
make DESTDIR=${D} install || die "install failed"
}
|