diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 02:11:45 +0100 |
commit | b49088575eb777ced2551f484da86317332d6087 (patch) | |
tree | bf9a151cf2d61956340d555659ffc098ee1da466 /net-p2p/ncdc/ncdc-1.22.1-r1.ebuild | |
parent | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (diff) |
gentoo resync : 24.07.2021
Diffstat (limited to 'net-p2p/ncdc/ncdc-1.22.1-r1.ebuild')
-rw-r--r-- | net-p2p/ncdc/ncdc-1.22.1-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-p2p/ncdc/ncdc-1.22.1-r1.ebuild b/net-p2p/ncdc/ncdc-1.22.1-r1.ebuild new file mode 100644 index 000000000000..d7201b1fe491 --- /dev/null +++ b/net-p2p/ncdc/ncdc-1.22.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="ncurses directconnect client" +HOMEPAGE="https://dev.yorhel.nl/ncdc" +if [[ "${PV}" == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="git://g.blicky.net/ncdc.git" +else + SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz" + KEYWORDS="amd64 ~ppc ~sparc x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="geoip" + +RDEPEND=" + app-arch/bzip2 + dev-db/sqlite:3 + dev-libs/glib:2 + net-libs/gnutls:= + sys-libs/ncurses:=[unicode(+)] + sys-libs/zlib:= + geoip? ( + dev-libs/geoip + dev-libs/libmaxminddb + )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/makeheaders + virtual/pkgconfig +" + +src_prepare() { + default + [[ "${PV}" == *9999 ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with geoip) + ) + if [[ "${PV}" == *9999 ]] ; then + myeconfargs+=( --enable-git-version ) + fi + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} |