commit:     30ba1b34fb9961170b8fa5a82f5dcb87a1dadc2b
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 08:46:26 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 09:38:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ba1b34

sys-apps/s6-linux-utils: add 2.6.2.1

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sys-apps/s6-linux-utils/Manifest                   |  1 +
 .../s6-linux-utils/s6-linux-utils-2.6.2.1.ebuild   | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/sys-apps/s6-linux-utils/Manifest b/sys-apps/s6-linux-utils/Manifest
index 635553dbf957..9ead31f52481 100644
--- a/sys-apps/s6-linux-utils/Manifest
+++ b/sys-apps/s6-linux-utils/Manifest
@@ -1 +1,2 @@
 DIST s6-linux-utils-2.6.2.0.tar.gz 43287 BLAKE2B 
2dcad4eac6250f7dfb31946baa8b21068297d6723bfd03abb01389183ca7b586db82e12be37acd9d2016923c0c693865153129fc265dd9e00852c1ba0c39c488
 SHA512 
b7bc96ef3aa81bc01c6ca2a82591201be0966d8aa2b71545c963f67dba8441a05631e0ea593f0a693ee04d6d2637754e9543eddbfe70ed9c0529ff49081aa54d
+DIST s6-linux-utils-2.6.2.1.tar.gz 43317 BLAKE2B 
d566bcd781d473f59e5e22e55e24897a51c0877f41a9d4357f665273cb85fd1647929bddb2bde7d5dbbb0f353cea675250151cdd8c4f59d0571e8b26587fb8f1
 SHA512 
d3f796c1edc0de6e289b7b82e8c97ea58e80d0bcb2e4731a5c2c25cf4abfbd91318e33ab48956bc6e7b2f188c622bb33def72e96f22f9448778ede5ac829c940

diff --git a/sys-apps/s6-linux-utils/s6-linux-utils-2.6.2.1.ebuild 
b/sys-apps/s6-linux-utils/s6-linux-utils-2.6.2.1.ebuild
new file mode 100644
index 000000000000..07b45502749c
--- /dev/null
+++ b/sys-apps/s6-linux-utils/s6-linux-utils-2.6.2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Set of tiny linux utilities"
+HOMEPAGE="https://www.skarnet.org/software/s6-linux-utils/";
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND=">=dev-libs/skalibs-2.13.0.0:="
+DEPEND="${RDEPEND}"
+
+HTML_DOCS=( doc/. )
+
+src_prepare() {
+       default
+
+       # Avoid QA warning for LDFLAGS addition
+       sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
+
+       sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
+}
+
+src_configure() {
+       tc-export AR CC RANLIB
+
+       local myconf=(
+               --bindir=/bin
+               --dynlibdir="/$(get_libdir)"
+               --libdir="/usr/$(get_libdir)/${PN}"
+               --with-dynlib="/$(get_libdir)"
+               --with-lib="/usr/$(get_libdir)/skalibs"
+               --with-sysdeps="/usr/$(get_libdir)/skalibs"
+               --disable-allstatic
+               --disable-static
+               --disable-static-libc
+       )
+
+       econf "${myconf[@]}"
+}

Reply via email to