1 |
commit: 29ee592113d6c5fec7f06bd4d0d1111b06034a89 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 28 13:09:32 2017 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 13:10:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ee5921 |
7 |
|
8 |
sys-devel/bc: Rev bump to re-trigger mirroring of SRC_URI |
9 |
|
10 |
In addition, ebuild was bumped to EAPI=6. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/615978 |
13 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
14 |
|
15 |
sys-devel/bc/bc-1.07.1-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/sys-devel/bc/bc-1.07.1-r1.ebuild b/sys-devel/bc/bc-1.07.1-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..fcd02f0f33e |
21 |
--- /dev/null |
22 |
+++ b/sys-devel/bc/bc-1.07.1-r1.ebuild |
23 |
@@ -0,0 +1,49 @@ |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI="6" |
28 |
+ |
29 |
+inherit flag-o-matic toolchain-funcs |
30 |
+ |
31 |
+DESCRIPTION="Handy console-based calculator utility" |
32 |
+HOMEPAGE="https://www.gnu.org/software/bc/bc.html" |
33 |
+SRC_URI="mirror://gnu/bc/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2 LGPL-2.1" |
36 |
+SLOT="0" |
37 |
+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" |
38 |
+IUSE="libedit readline static" |
39 |
+ |
40 |
+RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) |
41 |
+ readline? ( |
42 |
+ >=sys-libs/readline-4.1:0= |
43 |
+ >=sys-libs/ncurses-5.2:= |
44 |
+ )" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ sys-apps/ed |
47 |
+ sys-devel/flex" |
48 |
+ |
49 |
+src_configure() { |
50 |
+ local libedit |
51 |
+ if use readline ; then |
52 |
+ libedit="--without-libedit" |
53 |
+ else |
54 |
+ libedit=$(use_with libedit) |
55 |
+ fi |
56 |
+ use static && append-ldflags -static |
57 |
+ # Clobber any CONFIG_SHELL setting the user has forced on us. |
58 |
+ # We should be able to delete this w/the next release as it |
59 |
+ # should use updated autoconf. |
60 |
+ CONFIG_SHELL=/bin/bash \ |
61 |
+ econf \ |
62 |
+ $(use_with readline) \ |
63 |
+ ${libedit} |
64 |
+ |
65 |
+ # Do not regen docs -- configure produces a small fragment that includes |
66 |
+ # the version info which causes all pages to regen (newer file). #554774 |
67 |
+ touch -r doc doc/* |
68 |
+} |
69 |
+ |
70 |
+src_compile() { |
71 |
+ emake AR="$(tc-getAR)" |
72 |
+} |