mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-libs/libtelnet: Remove broken live ebuild
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
From 4691956375fae84dcfaeb96c1a204a113d8e5a99 Mon Sep 17 00:00:00 2001
|
||||
From: Jakov Smolic <jakov.smolic@sartura.hr>
|
||||
Date: Tue, 18 Aug 2020 13:22:52 +0200
|
||||
Subject: [PATCH] doc: install manpages in standard directory
|
||||
|
||||
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
|
||||
---
|
||||
doc/man/man1/CMakeLists.txt | 4 ++--
|
||||
doc/man/man3/CMakeLists.txt | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/doc/man/man1/CMakeLists.txt b/doc/man/man1/CMakeLists.txt
|
||||
index 053dc42..0da441c 100644
|
||||
--- a/doc/man/man1/CMakeLists.txt
|
||||
+++ b/doc/man/man1/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
install(
|
||||
FILES telnet-chatd.1 telnet-client.1 telnet-proxy.1
|
||||
- DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
|
||||
-)
|
||||
\ No newline at end of file
|
||||
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
|
||||
+)
|
||||
diff --git a/doc/man/man3/CMakeLists.txt b/doc/man/man3/CMakeLists.txt
|
||||
index b126fea..af40a92 100644
|
||||
--- a/doc/man/man3/CMakeLists.txt
|
||||
+++ b/doc/man/man3/CMakeLists.txt
|
||||
@@ -14,5 +14,5 @@ install(
|
||||
${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_zmp_t.3
|
||||
${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_mssp_t.3
|
||||
${CMAKE_CURRENT_BINARY_DIR}/telnet_telopt_t.3
|
||||
- DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man3
|
||||
-)
|
||||
\ No newline at end of file
|
||||
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man3
|
||||
+)
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
|
||||
DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library"
|
||||
HOMEPAGE="https://github.com/seanmiddleditch/libtelnet"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/doxygen
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
eapply "${FILESDIR}"/${P}-doc.patch
|
||||
cmake_src_prepare
|
||||
else
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user