You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
4 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
1 year ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
6 months ago
|
inherit optfeature toolchain-funcs
|
||
1 year ago
|
|
||
6 months ago
|
DESCRIPTION="Suite of small networking utilities for Unix systems"
|
||
|
HOMEPAGE="https://www.skarnet.org/software/s6-networking/"
|
||
1 year ago
|
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="ISC"
|
||
|
SLOT="0/$(ver_cut 1-2)"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
6 months ago
|
IUSE="ssl"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-lang/execline:=
|
||
5 months ago
|
>=dev-libs/skalibs-2.14.1.0:=
|
||
6 months ago
|
>=net-dns/s6-dns-2.3.7.0:=
|
||
|
sys-apps/s6:=[execline]
|
||
|
ssl? ( dev-libs/libretls:= )
|
||
|
"
|
||
1 year ago
|
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)"
|
||
6 months ago
|
--with-lib="/usr/$(get_libdir)/s6"
|
||
|
--with-lib="/usr/$(get_libdir)/s6-dns"
|
||
1 year ago
|
--with-lib="/usr/$(get_libdir)/skalibs"
|
||
|
--with-sysdeps="/usr/$(get_libdir)/skalibs"
|
||
|
--enable-shared
|
||
|
--disable-allstatic
|
||
|
--disable-static
|
||
|
--disable-static-libc
|
||
6 months ago
|
$(use_enable ssl ssl libtls)
|
||
1 year ago
|
)
|
||
|
|
||
|
econf "${myconf[@]}"
|
||
|
}
|
||
6 months ago
|
|
||
|
pkg_postinst() {
|
||
|
optfeature "man pages" app-doc/s6-networking-man-pages
|
||
|
}
|