1 |
commit: 2bd9a41efc125c3bacf5e2cfb48ca4ea40855dc6 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 10 07:55:03 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 10 07:55:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd9a41e |
7 |
|
8 |
sys-devel/bc: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
sys-devel/bc/Manifest | 1 + |
13 |
sys-devel/bc/bc-1.06.95.ebuild | 38 -------------------------------- |
14 |
sys-devel/bc/bc-1.07.1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 50 insertions(+), 38 deletions(-) |
16 |
|
17 |
diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest |
18 |
index 2bf857b81f1..5a363bbb854 100644 |
19 |
--- a/sys-devel/bc/Manifest |
20 |
+++ b/sys-devel/bc/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST bc-1.06.95.tar.bz2 290069 SHA256 7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc SHA512 16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1 WHIRLPOOL e91adb7b1fd42c4d47dad76f994c51ee7a8d962a24cb1b0cbeaa992fe1be59878016d5883506ec4153293daf48fbe3f345bb88fbe3f6276b3353c89573a612af |
23 |
+DIST bc-1.07.1.tar.gz 419850 SHA256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a SHA512 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 WHIRLPOOL 87a9c0a5b7b2af082d59002147cd05cef7612a66f83ca688e6572ed2bbbdddcec945e7b8a0ee6e865f0142d31801ee3167b7eff023be8054d897d755bd282a2d |
24 |
|
25 |
diff --git a/sys-devel/bc/bc-1.06.95.ebuild b/sys-devel/bc/bc-1.06.95.ebuild |
26 |
deleted file mode 100644 |
27 |
index d43d9065cfd..00000000000 |
28 |
--- a/sys-devel/bc/bc-1.06.95.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,38 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-inherit eutils flag-o-matic toolchain-funcs |
35 |
- |
36 |
-DESCRIPTION="Handy console-based calculator utility" |
37 |
-HOMEPAGE="https://www.gnu.org/software/bc/bc.html" |
38 |
-SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2 |
39 |
- mirror://gnu/bc/${P}.tar.bz2" |
40 |
- |
41 |
-LICENSE="GPL-2 LGPL-2.1" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
-IUSE="libedit readline static" |
45 |
- |
46 |
-RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) |
47 |
- libedit? ( dev-libs/libedit )" |
48 |
-DEPEND="${RDEPEND} |
49 |
- sys-devel/flex" |
50 |
- |
51 |
-src_compile() { |
52 |
- local myconf |
53 |
- if use readline ; then |
54 |
- myconf="--with-readline --without-libedit" |
55 |
- elif use libedit ; then |
56 |
- myconf="--without-readline --with-libedit" |
57 |
- else |
58 |
- myconf="--without-readline --without-libedit" |
59 |
- fi |
60 |
- use static && append-ldflags -static |
61 |
- econf ${myconf} || die |
62 |
- emake || die |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- emake install DESTDIR="${D}" || die |
67 |
- dodoc AUTHORS FAQ NEWS README ChangeLog |
68 |
-} |
69 |
|
70 |
diff --git a/sys-devel/bc/bc-1.07.1.ebuild b/sys-devel/bc/bc-1.07.1.ebuild |
71 |
new file mode 100644 |
72 |
index 00000000000..251b67cd000 |
73 |
--- /dev/null |
74 |
+++ b/sys-devel/bc/bc-1.07.1.ebuild |
75 |
@@ -0,0 +1,49 @@ |
76 |
+# Copyright 1999-2017 Gentoo Foundation |
77 |
+# Distributed under the terms of the GNU General Public License v2 |
78 |
+ |
79 |
+EAPI="5" |
80 |
+ |
81 |
+inherit eutils flag-o-matic toolchain-funcs |
82 |
+ |
83 |
+DESCRIPTION="Handy console-based calculator utility" |
84 |
+HOMEPAGE="https://www.gnu.org/software/bc/bc.html" |
85 |
+SRC_URI="mirror://gnu-alpha/bc/${P}.tar.gz |
86 |
+ mirror://gnu/bc/${P}.tar.gz" |
87 |
+ |
88 |
+LICENSE="GPL-2 LGPL-2.1" |
89 |
+SLOT="0" |
90 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
91 |
+IUSE="libedit readline static" |
92 |
+ |
93 |
+RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) |
94 |
+ readline? ( |
95 |
+ >=sys-libs/readline-4.1:0= |
96 |
+ >=sys-libs/ncurses-5.2:= |
97 |
+ )" |
98 |
+DEPEND="${RDEPEND} |
99 |
+ sys-devel/flex" |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local libedit |
103 |
+ if use readline ; then |
104 |
+ libedit="--without-libedit" |
105 |
+ else |
106 |
+ libedit=$(use_with libedit) |
107 |
+ fi |
108 |
+ use static && append-ldflags -static |
109 |
+ # Clobber any CONFIG_SHELL setting the user has forced on us. |
110 |
+ # We should be able to delete this w/the next release as it |
111 |
+ # should use updated autoconf. |
112 |
+ CONFIG_SHELL=/bin/bash \ |
113 |
+ econf \ |
114 |
+ $(use_with readline) \ |
115 |
+ ${libedit} |
116 |
+ |
117 |
+ # Do not regen docs -- configure produces a small fragment that includes |
118 |
+ # the version info which causes all pages to regen (newer file). #554774 |
119 |
+ touch -r doc doc/* |
120 |
+} |
121 |
+ |
122 |
+src_compile() { |
123 |
+ emake AR="$(tc-getAR)" |
124 |
+} |