1 |
commit: 3486f1b365cf0b6ce5325ecdc06d3100009f144c |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 9 02:17:29 2016 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 9 03:15:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3486f1b3 |
7 |
|
8 |
sci-libs/cln: version bump |
9 |
|
10 |
also add arm64 keyword |
11 |
|
12 |
Gentoo-Bug: 586990 |
13 |
|
14 |
Package-Manager: portage-2.3.0_rc1 |
15 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
16 |
|
17 |
sci-libs/cln/Manifest | 1 + |
18 |
sci-libs/cln/cln-1.3.4.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 58 insertions(+) |
20 |
|
21 |
diff --git a/sci-libs/cln/Manifest b/sci-libs/cln/Manifest |
22 |
index 7577f00..46b49aa 100644 |
23 |
--- a/sci-libs/cln/Manifest |
24 |
+++ b/sci-libs/cln/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST cln-1.3.3.tar.bz2 1300229 SHA256 57fc2ee3ecbb30d4037ff32a9a331804ea7dad8b345e70d42d9991ca659b2612 SHA512 ee829cd03a2d36215a4d4e76cc0aa6c5abe6ff967ed366d752da1dc0c47dbec56e0521e92fb35574c038305fb767991c5c7fd12ad03583080da3f923fbfecdaf WHIRLPOOL fac646fcb8622060917cbe08b232d412459e45f16c4bbe38cd6d1b7296bc259466eba28ddccb66ead435832ea45127e13b4fe0e2601a0f763487144c02e51eb0 |
27 |
+DIST cln-1.3.4.tar.bz2 1281348 SHA256 2d99d7c433fb60db1e28299298a98354339bdc120d31bb9a862cafc5210ab748 SHA512 2178a64b4388b3018c3847f6fb192ea51eb9c8618302986d7706accef17184e3333ddeca218d726f93f3b985598952ad58d705c9081201985611e383f788a631 WHIRLPOOL da1686fa88f7a73e20c60e3116b50dfee0ebe6e4519443df26889f82dd7b9281178c89cea7ab7fe82ed6a6b6fbf91546fc2501da7c56c2375e1f57415f103024 |
28 |
|
29 |
diff --git a/sci-libs/cln/cln-1.3.4.ebuild b/sci-libs/cln/cln-1.3.4.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..801baf9 |
32 |
--- /dev/null |
33 |
+++ b/sci-libs/cln/cln-1.3.4.ebuild |
34 |
@@ -0,0 +1,57 @@ |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=5 |
40 |
+ |
41 |
+inherit autotools-utils flag-o-matic |
42 |
+ |
43 |
+DESCRIPTION="Class library (C++) for numbers" |
44 |
+HOMEPAGE="http://www.ginac.de/CLN/" |
45 |
+SRC_URI="http://www.ginac.de/CLN/${P}.tar.bz2" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="1" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
50 |
+IUSE="doc examples static-libs" |
51 |
+ |
52 |
+RDEPEND="dev-libs/gmp:0=" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ doc? ( virtual/latex-base )" |
55 |
+ |
56 |
+PATCHES=( "${FILESDIR}"/${PN}-1.3.2-arm.patch ) |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ use sparc && append-cppflags -DNO_ASM |
60 |
+ use hppa && append-cppflags -DNO_ASM |
61 |
+ use arm && append-cppflags -DNO_ASM |
62 |
+} |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ # avoid building examples |
66 |
+ # do it in Makefile.in to avoid time consuming eautoreconf |
67 |
+ sed -i \ |
68 |
+ -e '/^SUBDIRS.*=/s/examples doc benchmarks/doc/' \ |
69 |
+ Makefile.in || die |
70 |
+ autotools-utils_src_prepare |
71 |
+} |
72 |
+ |
73 |
+src_compile() { |
74 |
+ autotools-utils_src_compile |
75 |
+ if use doc; then |
76 |
+ cd "${BUILD_DIR}" |
77 |
+ export VARTEXFONTS="${T}/fonts" |
78 |
+ emake html pdf |
79 |
+ DOCS=("${BUILD_DIR}/doc/cln.pdf") |
80 |
+ HTML_DOCS=("${BUILD_DIR}/doc/") |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+src_install () { |
85 |
+ autotools-utils_src_install |
86 |
+ if use examples; then |
87 |
+ docompress -x /usr/share/doc/${PF}/examples |
88 |
+ insinto /usr/share/doc/${PF}/examples |
89 |
+ doins examples/*.cc |
90 |
+ fi |
91 |
+} |