diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-28 20:05:29 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-28 20:05:29 +0000 |
commit | f54452e3b988568b12769335101d056f3e3efb6d (patch) | |
tree | 700c1d130f3dd7d88e1db690dafab24014e523a5 /sci-libs/cln/cln-1.1.6.ebuild | |
parent | Fixed ChangeLog header. (Manifest recommit) (diff) | |
download | gentoo-2-f54452e3b988568b12769335101d056f3e3efb6d.tar.gz gentoo-2-f54452e3b988568b12769335101d056f3e3efb6d.tar.bz2 gentoo-2-f54452e3b988568b12769335101d056f3e3efb6d.zip |
Moved from dev-libs/cln to sci-libs/cln.
Diffstat (limited to 'sci-libs/cln/cln-1.1.6.ebuild')
-rw-r--r-- | sci-libs/cln/cln-1.1.6.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-libs/cln/cln-1.1.6.ebuild b/sci-libs/cln/cln-1.1.6.ebuild new file mode 100644 index 000000000000..b21c686ed8ce --- /dev/null +++ b/sci-libs/cln/cln-1.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.1.6.ebuild,v 1.1 2004/12/28 20:05:29 ribosome Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="CLN, a class library (C++) for numbers" + +HOMEPAGE="http://www.ginac.de/CLN/" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="x86 ~ppc ~sparc ~amd64" +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() { + # at least with gcc 2.95 and 3.1, cln won't like -O3 flag... + replace-flags -O[3..9] -O2 + + # and with gcc 2.95.3, it doesn't like funroll-loops as well... + if [ "$( gcc-fullversion )" == "2.95.3" ]; then + filter-flags -funroll-loops + filter-flags -frerun-loop-opt + fi + + # Trouble: see bug #70779 + if [ "$( gcc-fullversion )" == "3.3.4" ]; then + filter-flags -finline-functions + fi + + ./configure \ + --build=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --datadir=/usr/share/doc/${P} \ + --mandir=/usr/share/man || die "./configure failed" + + #it doesn't also like parallel make :) + make || die +} + +src_install () { + make DESTDIR=${D} install || die +} |