mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-14 09:02:26 +02:00
31 lines
803 B
Bash
31 lines
803 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="A 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"
|
|
IUSE=""
|
|
|
|
# We statically link bglibs.
|
|
DEPEND=">=dev-libs/bglibs-2.04"
|
|
# Block other unixcat installers. #480546
|
|
RDEPEND="!net-analyzer/mk-livestatus"
|
|
|
|
src_configure() {
|
|
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 ANNOUNCEMENT ChangeLog NEWS PROTOCOL README TODO
|
|
}
|