1 |
commit: c0cbdb0a745216e759bda60e03c97063a6529b4d |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Wed Jun 15 15:37:09 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 05:35:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0cbdb0a |
7 |
|
8 |
sys-apps/s6-portable-utils: add 2.2.5.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 |
sys-apps/s6-portable-utils/Manifest | 1 + |
14 |
.../s6-portable-utils-2.2.5.0.ebuild | 48 ++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/s6-portable-utils/Manifest b/sys-apps/s6-portable-utils/Manifest |
18 |
index d07d3185682e..bd07d57b5730 100644 |
19 |
--- a/sys-apps/s6-portable-utils/Manifest |
20 |
+++ b/sys-apps/s6-portable-utils/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST s6-portable-utils-2.2.4.0.tar.gz 50343 BLAKE2B edfbe4ab48914ae485072f220931e6af4d53fc8d1c1dc5e1186bc1688a429e6d14a370b02dbe0a9b641a8204f65e6f6bfb6cb0c0c9318acf89d9f6ad7f7f914f SHA512 35b62aff76b9fbf978e81dad2f343a2542cb4a853530948cc3b446b20e8d5f976d1624194c2aad6e0277b73d23d5cecf2142e3f2916bd152ad62342fc30fe07a |
23 |
+DIST s6-portable-utils-2.2.5.0.tar.gz 50911 BLAKE2B e79d803544e8df6b791ecd22bd61b7c9535945c5557a25d7bc5488f5015967c4a750f1c0a136cc49b30ddd5bf3fbc17927e5ec01184106e44d0c08643e98e41a SHA512 2e90a1390140818268bd83629579098552c22160537874a90d4be94fae157cb9cdb864859c40847e8588fa9f62fb5af7bf89aa12561f1e6678a7cffc0f0a6d68 |
24 |
|
25 |
diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.2.5.0.ebuild b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..ffe188743b60 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.5.0.ebuild |
30 |
@@ -0,0 +1,48 @@ |
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="Set of tiny portable unix utilities" |
39 |
+HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/" |
40 |
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="static" |
46 |
+ |
47 |
+RDEPEND="!static? ( >=dev-libs/skalibs-2.12.0.0:= )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ static? ( >=dev-libs/skalibs-2.12.0.0[static-libs] ) |
50 |
+" |
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 |
+ $(use_enable static allstatic) |
74 |
+ $(use_enable static static-libc) |
75 |
+ ) |
76 |
+ |
77 |
+ econf "${myconf[@]}" |
78 |
+} |