1 |
commit: 53704aa33e6ee11a2f847192d5e3912a0a355979 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 10 07:58:00 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 10 07:58:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53704aa3 |
7 |
|
8 |
sys-devel/bc: Bump to version 1.07.1 |
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.07.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest |
17 |
index 2bf857b81f1..5a363bbb854 100644 |
18 |
--- a/sys-devel/bc/Manifest |
19 |
+++ b/sys-devel/bc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bc-1.06.95.tar.bz2 290069 SHA256 7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc SHA512 16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1 WHIRLPOOL e91adb7b1fd42c4d47dad76f994c51ee7a8d962a24cb1b0cbeaa992fe1be59878016d5883506ec4153293daf48fbe3f345bb88fbe3f6276b3353c89573a612af |
22 |
+DIST bc-1.07.1.tar.gz 419850 SHA256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a SHA512 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 WHIRLPOOL 87a9c0a5b7b2af082d59002147cd05cef7612a66f83ca688e6572ed2bbbdddcec945e7b8a0ee6e865f0142d31801ee3167b7eff023be8054d897d755bd282a2d |
23 |
|
24 |
diff --git a/sys-devel/bc/bc-1.07.1.ebuild b/sys-devel/bc/bc-1.07.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..251b67cd000 |
27 |
--- /dev/null |
28 |
+++ b/sys-devel/bc/bc-1.07.1.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="5" |
34 |
+ |
35 |
+inherit eutils flag-o-matic toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Handy console-based calculator utility" |
38 |
+HOMEPAGE="https://www.gnu.org/software/bc/bc.html" |
39 |
+SRC_URI="mirror://gnu-alpha/bc/${P}.tar.gz |
40 |
+ mirror://gnu/bc/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2 LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+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" |
45 |
+IUSE="libedit readline static" |
46 |
+ |
47 |
+RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) |
48 |
+ readline? ( |
49 |
+ >=sys-libs/readline-4.1:0= |
50 |
+ >=sys-libs/ncurses-5.2:= |
51 |
+ )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ sys-devel/flex" |
54 |
+ |
55 |
+src_configure() { |
56 |
+ local libedit |
57 |
+ if use readline ; then |
58 |
+ libedit="--without-libedit" |
59 |
+ else |
60 |
+ libedit=$(use_with libedit) |
61 |
+ fi |
62 |
+ use static && append-ldflags -static |
63 |
+ # Clobber any CONFIG_SHELL setting the user has forced on us. |
64 |
+ # We should be able to delete this w/the next release as it |
65 |
+ # should use updated autoconf. |
66 |
+ CONFIG_SHELL=/bin/bash \ |
67 |
+ econf \ |
68 |
+ $(use_with readline) \ |
69 |
+ ${libedit} |
70 |
+ |
71 |
+ # Do not regen docs -- configure produces a small fragment that includes |
72 |
+ # the version info which causes all pages to regen (newer file). #554774 |
73 |
+ touch -r doc doc/* |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ emake AR="$(tc-getAR)" |
78 |
+} |