diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-06-15 17:37:09 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-25 06:35:13 +0100 |
commit | c0cbdb0a745216e759bda60e03c97063a6529b4d (patch) | |
tree | 489ff554aa2c6255ad20faf31272669786113204 /sys-apps | |
parent | sys-apps/s6-linux-utils: add 2.6.0.0 (diff) | |
download | gentoo-c0cbdb0a745216e759bda60e03c97063a6529b4d.tar.gz gentoo-c0cbdb0a745216e759bda60e03c97063a6529b4d.tar.bz2 gentoo-c0cbdb0a745216e759bda60e03c97063a6529b4d.zip |
sys-apps/s6-portable-utils: add 2.2.5.0
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/s6-portable-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/s6-portable-utils/s6-portable-utils-2.2.5.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/s6-portable-utils/Manifest b/sys-apps/s6-portable-utils/Manifest index d07d3185682e..bd07d57b5730 100644 --- a/sys-apps/s6-portable-utils/Manifest +++ b/sys-apps/s6-portable-utils/Manifest @@ -1 +1,2 @@ DIST s6-portable-utils-2.2.4.0.tar.gz 50343 BLAKE2B edfbe4ab48914ae485072f220931e6af4d53fc8d1c1dc5e1186bc1688a429e6d14a370b02dbe0a9b641a8204f65e6f6bfb6cb0c0c9318acf89d9f6ad7f7f914f SHA512 35b62aff76b9fbf978e81dad2f343a2542cb4a853530948cc3b446b20e8d5f976d1624194c2aad6e0277b73d23d5cecf2142e3f2916bd152ad62342fc30fe07a +DIST s6-portable-utils-2.2.5.0.tar.gz 50911 BLAKE2B e79d803544e8df6b791ecd22bd61b7c9535945c5557a25d7bc5488f5015967c4a750f1c0a136cc49b30ddd5bf3fbc17927e5ec01184106e44d0c08643e98e41a SHA512 2e90a1390140818268bd83629579098552c22160537874a90d4be94fae157cb9cdb864859c40847e8588fa9f62fb5af7bf89aa12561f1e6678a7cffc0f0a6d68 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 new file mode 100644 index 000000000000..ffe188743b60 --- /dev/null +++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.5.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Set of tiny portable unix utilities" +HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/" +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="static" + +RDEPEND="!static? ( >=dev-libs/skalibs-2.12.0.0:= )" +DEPEND="${RDEPEND} + static? ( >=dev-libs/skalibs-2.12.0.0[static-libs] ) +" + +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=/usr/$(get_libdir) + --libdir=/usr/$(get_libdir)/${PN} + --with-dynlib=/usr/$(get_libdir) + --with-lib=/usr/$(get_libdir)/skalibs + --with-sysdeps=/usr/$(get_libdir)/skalibs + $(use_enable static allstatic) + $(use_enable static static-libc) + ) + + econf "${myconf[@]}" +} |