commit dbed492a19b22326ddee271bbcfe7dbdb19b83c0 parent 2357bf9406f7b7bbae1464fa47d5247e0e470ee5 Author: parazyd <parazyd@dyne.org> Date: Wed, 3 Feb 2021 10:44:26 +0100 net-nntp/nntpit: Add 9999 ebuild. Diffstat:
A | net-nntp/nntpit/metadata.xml | | | 7 | +++++++ |
A | net-nntp/nntpit/nntpit-9999.ebuild | | | 37 | +++++++++++++++++++++++++++++++++++++ |
2 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/net-nntp/nntpit/metadata.xml b/net-nntp/nntpit/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>parazyd@dyne.org</email> +</maintainer> +</pkgmetadata> diff --git a/net-nntp/nntpit/nntpit-9999.ebuild b/net-nntp/nntpit/nntpit-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 autotools eutils + +DESCRIPTION="Minimalist reddit2nntp gateway" +HOMEPAGE="https://github.com/taviso/nntpit" +EGIT_REPO_URI="https://github.com/taviso/nntpit" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND=" + dev-libs/libev + dev-libs/glib + dev-libs/json-c + net-misc/curl +" +RDEPEND="${DEPEND}" + +src_prepare() { + eautoreconf + default +} + +src_configure() { + econf +} + +src_install() { + emake DESTDIR="${ED}" install || die "emake install failed" + dodoc README.md +}