summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libtelnet/libtelnet-0.23-r2.ebuild')
-rw-r--r--net-libs/libtelnet/libtelnet-0.23-r2.ebuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/net-libs/libtelnet/libtelnet-0.23-r2.ebuild b/net-libs/libtelnet/libtelnet-0.23-r2.ebuild
index 8be3967883b2..6ecf8c0bd972 100644
--- a/net-libs/libtelnet/libtelnet-0.23-r2.ebuild
+++ b/net-libs/libtelnet/libtelnet-0.23-r2.ebuild
@@ -3,20 +3,15 @@
EAPI=8
-if [[ ${PV} == *9999 ]]; then
- EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git"
- inherit git-r3 cmake
-else
- inherit autotools
- SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
+inherit autotools
DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library"
HOMEPAGE="https://github.com/seanmiddleditch/libtelnet"
+SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}"
@@ -27,12 +22,7 @@ BDEPEND="
src_prepare() {
default
- if [[ ${PV} = *9999 ]]; then
- eapply "${FILESDIR}"/${P}-doc.patch
- cmake_src_prepare
- else
- eautoreconf
- fi
+ eautoreconf
}
src_install() {