mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
Done via: ``` git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@' ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
51 lines
1,007 B
Bash
51 lines
1,007 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs verify-sig
|
|
|
|
DESCRIPTION="Lightweight direct connect client with a friendly ncurses interface"
|
|
HOMEPAGE="https://dev.yorhel.nl/ncdc"
|
|
SRC_URI="
|
|
https://dev.yorhel.nl/download/${P}.tar.gz
|
|
verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc )
|
|
"
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86"
|
|
|
|
IUSE="geoip"
|
|
|
|
RDEPEND="
|
|
app-arch/bzip2
|
|
dev-db/sqlite:3
|
|
>=dev-libs/glib-2.74:2
|
|
>=net-libs/gnutls-3:=
|
|
sys-libs/ncurses:=[unicode(+)]
|
|
virtual/zlib:=
|
|
geoip? ( dev-libs/libmaxminddb:= )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-lang/perl
|
|
dev-util/makeheaders
|
|
virtual/pkgconfig
|
|
verify-sig? ( sec-keys/openpgp-keys-yorhel )
|
|
"
|
|
|
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc
|
|
|
|
src_configure() {
|
|
local myeconfargs=(
|
|
$(use_with geoip)
|
|
--without-libloc
|
|
)
|
|
|
|
econf "${myeconfargs[@]}"
|
|
}
|
|
|
|
src_compile() {
|
|
emake AR="$(tc-getAR)"
|
|
}
|