commit:     c8ed5a100d1aaec0a80dbfb360412a042d161792
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 17:25:13 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 17:25:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ed5a10

net-libs/libtelnet: Update live ebuild

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-libs/libtelnet/libtelnet-9999.ebuild | 35 ++++++++++++--------------------
 1 file changed, 13 insertions(+), 22 deletions(-)

diff --git a/net-libs/libtelnet/libtelnet-9999.ebuild 
b/net-libs/libtelnet/libtelnet-9999.ebuild
index aae3c462a1c..620355b68c9 100644
--- a/net-libs/libtelnet/libtelnet-9999.ebuild
+++ b/net-libs/libtelnet/libtelnet-9999.ebuild
@@ -1,33 +1,24 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils autotools
-DESCRIPTION="Simple RFC-complient TELNET implementation as a C library"
-HOMEPAGE="https://github.com/seanmiddleditch/libtelnet";
+EAPI=7
+
+inherit cmake-utils
 
-if [ ${PV} = 9999 ]; then
-       KEYWORDS=""
-       EGIT_REPO_URI="https://github.com/seanmiddleditch/${PN}.git";
-       inherit git-2
-       DEPEND="dev-vcs/git"
-       S="${WORKDIR}/${PN}-master"
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git";
 else
+       
SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~x86 ~amd64"
-       SRC_URI="https://github.com/seanmiddleditch/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 fi
 
-WANT_AUTOMAKE=1.11
-DEPEND="${DEPEND} sys-devel/automake:${WANT_AUTOMAKE}"
+DESCRIPTION="Simple RFC-complient TELNET implementation as a C library"
+HOMEPAGE="https://github.com/seanmiddleditch/libtelnet";
+
 LICENSE="public-domain"
 SLOT="0"
 IUSE=""
-RDEPEND=""
 
-src_prepare() {
-       _elibtoolize
-       eaclocal
-       eautoconf
-       eautoheader
-       eautomake
-}
+# needed unconditionally for man pages
+DEPEND="app-doc/doxygen"

Reply via email to