gentoo-ebuilds/app-admin/logmon/logmon-0.4.4-r2.ebuild
Arthur Zamarin db8e32848d
app-admin/logmon: Stabilize 0.4.4-r2 amd64, #950910
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-03-08 20:54:09 +02:00

52 lines
985 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
MY_P="LogMon-${PV}"
DESCRIPTION="Split-screen terminal/ncurses based log viewer"
HOMEPAGE="https://www.edespot.com/logmon/"
SRC_URI="https://www.edespot.com/logmon/files/${MY_P}.tar.bz2"
S="${WORKDIR}/${PV}/${MY_P}"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
DEPEND="sys-libs/ncurses:0="
RDEPEND="${DEPEND}"
PATCHES=(
# Bug 119403 - should be in upstream next release
"${FILESDIR}"/${P}-char2int.diff
# Bug 250602, gcc43 fix
"${FILESDIR}"/${P}-gcc43.patch
# Fixes maintainer-mode detected.
"${FILESDIR}"/${P}-maintainer-mode.patch
"${FILESDIR}"/${P}-tinfo.patch
)
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}
src_configure() {
# Uses removed 'register' keyword, bug #894206
append-cxxflags -std=c++14
econf
}
src_install() {
dobin logmon
dodoc AUTHORS ChangeLog README TODO
}