/[gentoo-x86]/sci-mathematics/flint/flint-2.3.ebuild
Gentoo

Contents of /sci-mathematics/flint/flint-2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 21 07:10:10 2013 UTC (7 years, 6 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +8 -3 lines
Fixing libdir for #470732

(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/flint-2.3.ebuild,v 1.1 2012/11/26 08:06:33 patrick Exp $
4
5 EAPI="5"
6
7 inherit eutils multilib
8
9 DESCRIPTION="Fast Library for Number Theory"
10 HOMEPAGE="http://www.flintlib.org/"
11 SRC_URI="http://www.flintlib.org/${P}.tar.gz"
12
13 RESTRICT="mirror"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 DEPEND="dev-libs/mpfr
20 dev-libs/ntl
21 sci-libs/mpir
22 "
23 RDEPEND="${DEPEND}"
24
25 src_prepare() {
26 # Correct lib paths to be multilib-proper #470732
27 sed -i -e 's~/lib~/'$(get_libdir)'~' Makefile.in || die
28 }
29
30 src_configure() {
31 # handwritten script, needs extra stabbing
32 ./configure --with-mpir=/usr --with-mpfr=/usr --with-ntl=/usr --prefix="${D}/usr" || die
33 }

  ViewVC Help
Powered by ViewVC 1.1.20