From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libtommath: ChangeLog libtommath-0.42.0-r1.ebuild |
Date: | Tue, 02 Aug 2011 05:18:56 |
Message-Id: | 20110802051841.16F832004C@flycatcher.gentoo.org |
1 | jer 11/08/02 05:18:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libtommath-0.42.0-r1.ebuild |
5 | Log: |
6 | Split long line. Use autotools-utils eclass instead of find. |
7 | |
8 | (Portage version: 2.2.0_alpha49/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.42 dev-libs/libtommath/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?rev=1.42&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?rev=1.42&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?r1=1.41&r2=1.42 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v |
20 | retrieving revision 1.41 |
21 | retrieving revision 1.42 |
22 | diff -u -r1.41 -r1.42 |
23 | --- ChangeLog 2 Aug 2011 05:03:54 -0000 1.41 |
24 | +++ ChangeLog 2 Aug 2011 05:18:40 -0000 1.42 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/libtommath |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.41 2011/08/02 05:03:54 jer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.42 2011/08/02 05:18:40 jer Exp $ |
30 | + |
31 | +*libtommath-0.42.0-r1 (02 Aug 2011) |
32 | + |
33 | + 02 Aug 2011; Jeroen Roovers <jer@g.o> +libtommath-0.42.0-r1.ebuild: |
34 | + Split long line. Use autotools-utils eclass instead of find. |
35 | |
36 | 02 Aug 2011; Jeroen Roovers <jer@g.o> -libtommath-0.36-r1.ebuild, |
37 | -files/libtommath-0.36-CC.patch, -files/libtommath-0.36-LDFLAGS.patch, |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/libtommath/libtommath-0.42.0-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libtommath-0.42.0-r1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild,v 1.1 2011/08/02 05:18:40 jer Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit autotools-utils eutils multilib toolchain-funcs |
55 | |
56 | DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications" |
57 | HOMEPAGE="http://www.libtom.org/" |
58 | SRC_URI="http://www.libtom.org/files/ltm-${PV}.tar.bz2" |
59 | |
60 | LICENSE="WTFPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos" |
63 | IUSE="doc examples static-libs" |
64 | |
65 | DEPEND="sys-devel/libtool" |
66 | |
67 | src_prepare() { |
68 | epatch "${FILESDIR}"/${P}-makefile.patch |
69 | |
70 | [[ ${CHOST} == *-darwin* ]] && \ |
71 | sed -i -e 's/libtool/glibtool/g' makefile.shared |
72 | } |
73 | |
74 | src_compile() { |
75 | emake CC=$(tc-getCC) -f makefile.shared IGNORE_SPEED=1 LIBPATH="${EPREFIX}/usr/$(get_libdir)" |
76 | } |
77 | |
78 | src_install() { |
79 | emake -f makefile.shared \ |
80 | DESTDIR="${ED}" \ |
81 | LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ |
82 | INCPATH="${EPREFIX}/usr/include" \ |
83 | install |
84 | |
85 | dodoc changes.txt |
86 | |
87 | use doc && dodoc *.pdf |
88 | |
89 | if use examples ; then |
90 | docinto demo |
91 | dodoc demo/*.c |
92 | fi |
93 | |
94 | use static-libs || remove_libtool_files |
95 | } |