diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-11-02 12:47:55 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-11-02 12:50:11 +0100 |
commit | 3d29aca7927278679576f511a8cffe78c9553ae9 (patch) | |
tree | 5f1b41dcf19506c5a7853ffc7cfe2e166783e955 /net-p2p | |
parent | net-p2p/ncdc: Version 1.21 stable for amd64 and x86 (diff) | |
download | gentoo-3d29aca7927278679576f511a8cffe78c9553ae9.tar.gz gentoo-3d29aca7927278679576f511a8cffe78c9553ae9.tar.bz2 gentoo-3d29aca7927278679576f511a8cffe78c9553ae9.zip |
net-p2p/ncdc: Bump to version 1.22.1
Closes: https://bugs.gentoo.org/721082
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ncdc/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/ncdc/ncdc-1.22.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest index c8cb651a8648..1e82528de1c5 100644 --- a/net-p2p/ncdc/Manifest +++ b/net-p2p/ncdc/Manifest @@ -1,2 +1,3 @@ DIST ncdc-1.20.tar.gz 367688 BLAKE2B 33bf6cd92146b0cf3d188cec4b5c29f0860f91cbdf7a1ab33789985a61b706647591513fb596f89b21d3d8aebf683316397b94f184aac928a93e23fc17030e82 SHA512 0f20d6584aab1e69bcb3a93271a8542c5968adee5fd198b375dc258996b60ee5f642eac5d5e91c5513e367bbfd42eda80ede9e6e93ab38279c33e8da557010a7 DIST ncdc-1.21.tar.gz 370452 BLAKE2B 55ee9943a7adec4c60d17a8782ed9b2337796c0875c3c316e4f1627015520c5b8b23673b183a0f1d7e4c7a367eac5d908fb30e6b2d08caa324d19caf93efc7a4 SHA512 de182e190e3fb26451aad403975ec232b14ce908633cb2d9713582e2af8555fb55e2ea7de160b5b7faa05558f25dac0700dabbf5b7d1acd1aaa26d1bfe033c0c +DIST ncdc-1.22.1.tar.gz 371572 BLAKE2B 22125062a42f77e8a7a8afc699523b27a2b7ec566891676ca13b415e93cdae8e2d8d38f303070c7f098408f537266404a875b9ed7f9931a39933916a0ba576ab SHA512 b084ee28a799705009600c450016719ebb992cb0bf7e026513f4cd7e93b2566e7bf8e352eec92f3d69612ce06c930587759d7f7d20d14ee9fe1d5c4b8c4393af diff --git a/net-p2p/ncdc/ncdc-1.22.1.ebuild b/net-p2p/ncdc/ncdc-1.22.1.ebuild new file mode 100644 index 000000000000..8377b413dc10 --- /dev/null +++ b/net-p2p/ncdc/ncdc-1.22.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 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:0=[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)" +} |