1 |
commit: 87ae32dcebe4e7cfbcf6ffa67d33892ed043c875 |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Tue Jun 14 20:57:05 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 05:35:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ae32dc |
7 |
|
8 |
dev-lang/execline: add 2.9.0.0 |
9 |
|
10 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-lang/execline/Manifest | 1 + |
14 |
dev-lang/execline/execline-2.9.0.0.ebuild | 50 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/dev-lang/execline/Manifest b/dev-lang/execline/Manifest |
18 |
index 10cb184b599b..928b92978402 100644 |
19 |
--- a/dev-lang/execline/Manifest |
20 |
+++ b/dev-lang/execline/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST execline-2.8.3.0.tar.gz 98448 BLAKE2B f3dc1a194838f7973044b2d86e6026936697be4f34f9b01f5dfc98ddabfbde3dad7cfe95afd63f65cb266994b922d7d4c94368cf5dca2a2494fd0033b4ed6032 SHA512 40f4697a8165616848ed36dcb31a5859dee55a47439d13908a387550e8f53ca8fffe3bcb3e0462cb93f694c8fb483b14e152f92e6f9d0d536cdab9d94be9c53a |
23 |
+DIST execline-2.9.0.0.tar.gz 100225 BLAKE2B a0b0bdde6b827272e55a64a58b28b85d4ec0ecf96eae59f553b7914642d184bc77864f31a84e4584d482893c3851eca419270b41ecc3c4f331e8ef768c90b474 SHA512 bd491ef38c439cfe469a3aeda6d462930b1edcbf04a1118851161c30fcd3521e8ec98ef53261f9216c6f210a6816d6dd7cff6dcc853a5d2f28d963f8083aed84 |
24 |
|
25 |
diff --git a/dev-lang/execline/execline-2.9.0.0.ebuild b/dev-lang/execline/execline-2.9.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..f92b613812ca |
28 |
--- /dev/null |
29 |
+++ b/dev-lang/execline/execline-2.9.0.0.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="A non-interactive scripting language" |
39 |
+HOMEPAGE="https://www.skarnet.org/software/execline/" |
40 |
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0/$(ver_cut 1-2)" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="static static-libs" |
46 |
+ |
47 |
+REQUIRED_USE="static? ( static-libs )" |
48 |
+ |
49 |
+RDEPEND=">=dev-libs/skalibs-2.12.0.0:=[static-libs?]" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+HTML_DOCS=( doc/. ) |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ |
57 |
+ # Avoid QA warning for LDFLAGS addition |
58 |
+ sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die |
59 |
+ |
60 |
+ sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ tc-export AR CC RANLIB |
65 |
+ |
66 |
+ local myconf=( |
67 |
+ --bindir=/bin |
68 |
+ --dynlibdir=/usr/$(get_libdir) |
69 |
+ --libdir=/usr/$(get_libdir)/${PN} |
70 |
+ --with-dynlib=/usr/$(get_libdir) |
71 |
+ --with-lib=/usr/$(get_libdir)/skalibs |
72 |
+ --with-sysdeps=/usr/$(get_libdir)/skalibs |
73 |
+ --enable-shared |
74 |
+ $(use_enable static allstatic) |
75 |
+ $(use_enable static static-libc) |
76 |
+ $(use_enable static-libs static) |
77 |
+ ) |
78 |
+ |
79 |
+ econf "${myconf[@]}" |
80 |
+} |