summaryrefslogtreecommitdiff
path: root/net-irc/dccserver/dccserver-0.5-r2.ebuild
blob: 1399170485f3075453bd659d48cd1a6970977953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2022 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
}