summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2024-01-15 20:13:37 +0600
committerJoonas Niilola <juippis@gentoo.org>2024-03-29 09:39:27 +0200
commit530551403b82848b35627eab7c3f4a86bb039491 (patch)
treef6196931fa726d17bb48c43ea29592cecae2102a /net-p2p
parentdev-util/makeheaders: add 0_p20240202 (diff)
downloadgentoo-530551403b82848b35627eab7c3f4a86bb039491.tar.gz
gentoo-530551403b82848b35627eab7c3f4a86bb039491.tar.bz2
gentoo-530551403b82848b35627eab7c3f4a86bb039491.zip
net-p2p/ncdc: add 1.24
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/34817 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ncdc/Manifest2
-rw-r--r--net-p2p/ncdc/ncdc-1.24.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest
index 39c5e08323a3..acfc11e8825a 100644
--- a/net-p2p/ncdc/Manifest
+++ b/net-p2p/ncdc/Manifest
@@ -1,2 +1,4 @@
DIST ncdc-1.23.1.tar.gz 378481 BLAKE2B 0eb59b88351008c281e7380fb5899b0cfb5f99dac5f17eed391a7da4f95a431a0a68a70c228dec17c235029bae89f8170319f9b28c5a2dc04706ea21b8c91879 SHA512 9e38387ac816499c25a28bf70e548d560265c84d12b9bfd1701decea642c4ab33b3bb5ea9c015c3048e491f9f208c6c26a63d2ce722e831f84f703a6c9f2b86c
DIST ncdc-1.23.1.tar.gz.asc 833 BLAKE2B ce9f4bd4a612fe862ab34e659e41c2134f31394e285af9d0e3f9ec034f44ccaead2c56db3b9cbb4eee32dab61c86ddb308cbb18023ce1aaf11af9b2ec6d4c67b SHA512 28270437bd08fbcc40a645eef8d71f2ab350314507b66fbd504c7ccab4899af51f483038cefa17d879213a419465ae27a4da8a3fe0598244357f2836a6a5d771
+DIST ncdc-1.24.tar.gz 377617 BLAKE2B 8528de13d6ee12358c335b921c7edc0f7df719245d23f4fb4a94512f4812249e3294f822452e3b1f508e8c7446bcd01bd347ad7745a63fbd360f1233c9e8be64 SHA512 332fd467d10d3acb2a2171395c41112280cadfea06369820dcc4481eae3c24602c98aa5056f479d3a2e80b3992a02b280819933b43ae5bc39885696703d46b39
+DIST ncdc-1.24.tar.gz.asc 833 BLAKE2B 1729293836f2e414ca19c4cbe25cf23099666b5f7eed6787717ee2c39f425ced147b02c2eb10da5d17093f7381ba9668b2a5567d13df862a9a809c5e7523b1ff SHA512 148353be0b899c18427abe0a33c6788324a80e83ecb1ef6f59f008debc9c20ad48403e145ed865c0d9e73d14ab6d082525ab7eb60fe05a7893946b1c414d039e
diff --git a/net-p2p/ncdc/ncdc-1.24.ebuild b/net-p2p/ncdc/ncdc-1.24.ebuild
new file mode 100644
index 000000000000..427eb066c5d3
--- /dev/null
+++ b/net-p2p/ncdc/ncdc-1.24.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 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 )
+"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="geoip"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-db/sqlite:3
+ >=dev-libs/glib-2.74:2
+ >=net-libs/gnutls-3:=
+ sys-libs/ncurses:=[unicode(+)]
+ sys-libs/zlib
+ geoip? ( dev-libs/libmaxminddb:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/makeheaders
+ virtual/pkgconfig
+ dev-lang/perl
+ 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)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}