gentoo/net-irc/dccserver/dccserver-0.5-r2.ebuild
Sam James cb31c20a01
net-irc/dccserver: Stabilize 0.5-r2 amd64, #897910
Signed-off-by: Sam James <sam@gentoo.org>
2023-02-26 19:30:22 +00:00

31 lines
602 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Linux implementation of the mirc dccserver command"
HOMEPAGE="https://www.nih.at/dccserver/"
SRC_URI="https://www.nih.at/dccserver/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ~riscv x86"
RDEPEND="dev-libs/libbsd"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-include-bsd-string-header.patch" )
src_prepare() {
default
# Respect AR
sed -i -e "s/AR = /AR ?= /" lib/Makefile.in || die
}
src_compile() {
AR="$(tc-getAR)" default
}