sys-apps/s6: add 2.14.0.0

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2025-12-26 20:51:32 +01:00
parent 3bde50df52
commit a7fe7ab4fc
2 changed files with 63 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST s6-2.13.2.0.tar.gz 261121 BLAKE2B 4ef65740c2f7b55caf44d3a4088f9b0bf81d7b83f89f24db4f8f685d4130a799b4777ad35b5f576302dc610e5c7d15a0d371e257df9ee1d265b64418c112c5e9 SHA512 0ee3b319fb0731681e8823bd6c0b415c556b87819b1ca72be2ff622b4f35f87ffe7a71ccaa2c783933d76eedcde7ded1fe767ee44a63e1717b2299a2b5aa81e1
DIST s6-2.14.0.0.tar.gz 273416 BLAKE2B 343ba35499b368ba4f5d85f8cc2cdba0f3acc48a6cff3207b244415786cba2deb3133601130eff2690db4653a3806823b6e325e886166a2b057efcba83a4f0ca SHA512 0a186d0acfbbee78e3ff40a63de35b320cef6a8559bee73f61c2c697bcc2ac1934ec6680846cf2cabcff8dbcd5a27663d0da28dc724d611f0e20e11572aa923d

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature toolchain-funcs
DESCRIPTION="skarnet.org's small and secure supervision software suite"
HOMEPAGE="https://www.skarnet.org/software/s6/"
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
LICENSE="ISC"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
IUSE="+execline"
RDEPEND="
>=dev-libs/skalibs-2.14.5.0:=
execline? ( dev-lang/execline:= )
"
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}"
--libexecdir=/lib/s6
--with-dynlib="/$(get_libdir)"
--with-lib="/usr/$(get_libdir)/execline"
--with-lib="/usr/$(get_libdir)/skalibs"
--with-sysdeps="/usr/$(get_libdir)/skalibs"
--enable-pkgconfig
--pkgconfdir="/usr/$(get_libdir)/pkgconfig"
--enable-shared
--disable-allstatic
--disable-static
--disable-static-libc
$(use_enable execline)
)
econf "${myconf[@]}"
}
pkg_postinst() {
optfeature "man pages" app-doc/s6-man-pages
}