1 |
commit: 5cc0fc86d15fa0fac1f2c1c26a97c5e882900087 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 26 08:36:32 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 22:16:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc0fc86 |
7 |
|
8 |
dev-libs/libtomfloat: EAPI=7 bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/686774 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/12111 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
dev-libs/libtomfloat/libtomfloat-0.02-r1.ebuild | 33 +++++++++++++++++++++++++ |
16 |
1 file changed, 33 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libtomfloat/libtomfloat-0.02-r1.ebuild b/dev-libs/libtomfloat/libtomfloat-0.02-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..be4077cf256 |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/libtomfloat/libtomfloat-0.02-r1.ebuild |
23 |
@@ -0,0 +1,33 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+inherit toolchain-funcs |
30 |
+ |
31 |
+DESCRIPTION="library for floating point number manipulation" |
32 |
+HOMEPAGE="http://www.libtom.net/" |
33 |
+SRC_URI="https://github.com/libtom/libtomfloat/releases/download/${PV}/ltf-${PV}.tar.bz2" |
34 |
+ |
35 |
+LICENSE="WTFPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~ppc ~x86" |
38 |
+ |
39 |
+DEPEND="dev-libs/libtommath" |
40 |
+RDEPEND="${DEPEND}" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ default |
44 |
+ sed -i \ |
45 |
+ -e 's:\<ar\>:$(AR):' \ |
46 |
+ -e 's:\<ranlib\>:$(RANLIB):' \ |
47 |
+ -e "/^LIBPATH/s:/lib:/$(get_libdir):" \ |
48 |
+ makefile || die |
49 |
+ tc-export AR CC RANLIB |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ default |
54 |
+ dodoc changes.txt float.pdf WARNING |
55 |
+ docinto demos ; dodoc demos/ex1.c |
56 |
+} |