From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/flint: flint-2.4.4.ebuild ChangeLog |
Date: | Fri, 20 Jun 2014 20:57:21 |
Message-Id: | 20140620205718.479982004E@flycatcher.gentoo.org |
1 | hasufell 14/06/20 20:57:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: flint-2.4.4.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020) |
9 | |
10 | Revision Changes Path |
11 | 1.5 sci-mathematics/flint/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?rev=1.5&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?rev=1.5&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/ChangeLog?r1=1.4&r2=1.5 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v |
20 | retrieving revision 1.4 |
21 | retrieving revision 1.5 |
22 | diff -u -r1.4 -r1.5 |
23 | --- ChangeLog 18 May 2014 23:46:28 -0000 1.4 |
24 | +++ ChangeLog 20 Jun 2014 20:57:18 -0000 1.5 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-mathematics/flint |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.4 2014/05/18 23:46:28 hasufell Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.5 2014/06/20 20:57:18 hasufell Exp $ |
30 | + |
31 | +*flint-2.4.4 (20 Jun 2014) |
32 | + |
33 | + 20 Jun 2014; Julian Ospald <hasufell@g.o> +flint-2.4.4.ebuild: |
34 | + version bump |
35 | |
36 | 18 May 2014; Julian Ospald <hasufell@g.o> metadata.xml: |
37 | add myself as maintainer |
38 | |
39 | |
40 | |
41 | 1.1 sci-mathematics/flint/flint-2.4.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/flint-2.4.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/flint/flint-2.4.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: flint-2.4.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/flint-2.4.4.ebuild,v 1.1 2014/06/20 20:57:18 hasufell Exp $ |
51 | |
52 | EAPI="5" |
53 | |
54 | inherit eutils multilib toolchain-funcs |
55 | |
56 | DESCRIPTION="Fast Library for Number Theory" |
57 | HOMEPAGE="http://www.flintlib.org/" |
58 | SRC_URI="http://www.flintlib.org/${P}.tar.gz" |
59 | |
60 | RESTRICT="mirror" |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="doc gc ntl static-libs test" |
65 | |
66 | RDEPEND="dev-libs/gmp |
67 | dev-libs/mpfr |
68 | gc? ( dev-libs/boehm-gc ) |
69 | ntl? ( dev-libs/ntl )" |
70 | DEPEND="${RDEPEND} |
71 | doc? ( app-text/texlive-core )" |
72 | |
73 | src_prepare() { |
74 | epatch "${FILESDIR}"/${PN}-2.4.3-libdir.patch \ |
75 | "${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \ |
76 | "${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch |
77 | } |
78 | |
79 | src_configure() { |
80 | ./configure \ |
81 | --prefix="${EPREFIX}/usr" \ |
82 | --with-gmp="${EPREFIX}/usr" \ |
83 | --with-mpfr="${EPREFIX}/usr" \ |
84 | $(usex ntl "--with-ntl=${EPREFIX}/usr" "") \ |
85 | $(use_enable static-libs static) \ |
86 | $(usex gc "--with-gc=${EPREFIX}/usr" "") \ |
87 | CC=$(tc-getCC) \ |
88 | CXX=$(tc-getCXX) \ |
89 | AR=$(tc-getAR) \ |
90 | || die |
91 | } |
92 | |
93 | src_compile() { |
94 | emake verbose |
95 | |
96 | if use doc ; then |
97 | emake -C doc/latex |
98 | fi |
99 | } |
100 | |
101 | src_test() { |
102 | emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check |
103 | } |
104 | |
105 | src_install() { |
106 | emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install |
107 | einstalldocs |
108 | use doc && dodoc doc/latex/flint-manual.pdf |
109 | } |