From fc2f1018fc323ef2c6572734a9b130427cba76a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Nov 2021 06:47:15 +0000 Subject: gentoo resync : 03.11.2021 --- app-admin/lnav/lnav-0.10.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 app-admin/lnav/lnav-0.10.1.ebuild (limited to 'app-admin/lnav/lnav-0.10.1.ebuild') diff --git a/app-admin/lnav/lnav-0.10.1.ebuild b/app-admin/lnav/lnav-0.10.1.ebuild new file mode 100644 index 000000000000..77d3aaffb0b6 --- /dev/null +++ b/app-admin/lnav/lnav-0.10.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A curses-based tool for viewing and analyzing log files" +HOMEPAGE="https://lnav.org" +SRC_URI="https://github.com/tstack/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="unicode test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/bzip2:0= + app-arch/libarchive:= + >=dev-db/sqlite-3.9.0 + dev-libs/libpcre[cxx] + >=net-misc/curl-7.23.0 + sys-libs/ncurses:=[unicode(+)?] + sys-libs/readline:0= + sys-libs/zlib:0=" +DEPEND="${RDEPEND} + test? ( dev-cpp/doctest )" + +DOCS=( AUTHORS NEWS README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-disable-tests.patch +) + +src_prepare() { + default + + eautoreconf + + # These tests use network and expect a running sshd, so we'll just delete them. + echo "#! /bin/bash" > test/test_remote.sh || die +} + +src_configure() { + econf \ + --disable-static \ + $(use_with test system-doctest) \ + $(use_with unicode ncursesw) +} -- cgit v1.2.3