gentoo-ebuilds/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild
Sam James 08f76d1fa7
sys-apps/ucspi-unix: Stabilize 1.0-r1 x86, #958633
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-03 04:32:48 +01:00

31 lines
740 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="UCSPI implementation for Unix domain sockets"
HOMEPAGE="https://untroubled.org/ucspi-unix/"
SRC_URI="https://untroubled.org/ucspi-unix/archive/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~loong ~riscv ~sparc x86"
# We statically link bglibs.
DEPEND=">=dev-libs/bglibs-2.04"
src_configure() {
# bug #950208
append-cflags -std=gnu17
echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
}
src_install() {
dobin unixserver unixclient unixcat
doman unixserver.1 unixclient.1
dodoc NEWS PROTOCOL README
}