diff options
author | 2023-07-03 13:53:02 +0000 | |
---|---|---|
committer | 2023-07-26 03:53:27 +0100 | |
commit | e99be276293a253c36cf6f3e607f71e4258bbd65 (patch) | |
tree | 05f270afd8681a7f00552de19abae6c9cc67820c /app-admin/lnav/lnav-0.11.2.ebuild | |
parent | dev-lang/mono: Filter LTO with LLD (diff) | |
download | gentoo-e99be276293a253c36cf6f3e607f71e4258bbd65.tar.gz gentoo-e99be276293a253c36cf6f3e607f71e4258bbd65.tar.bz2 gentoo-e99be276293a253c36cf6f3e607f71e4258bbd65.zip |
app-admin/lnav: Add 0.11.2
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/31727
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/lnav/lnav-0.11.2.ebuild')
-rw-r--r-- | app-admin/lnav/lnav-0.11.2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-admin/lnav/lnav-0.11.2.ebuild b/app-admin/lnav/lnav-0.11.2.ebuild new file mode 100644 index 000000000000..974cb7a28229 --- /dev/null +++ b/app-admin/lnav/lnav-0.11.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +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="pcap test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/bzip2:0= + app-arch/libarchive:= + >=dev-db/sqlite-3.9.0 + dev-libs/libpcre2 + >=net-misc/curl-7.23.0 + sys-libs/ncurses:= + sys-libs/readline:= + sys-libs/zlib:= + pcap? ( net-analyzer/wireshark[tshark] )" +# The tests use ssh-keygen and use dsa and rsa keys (which is why ssl is required) +DEPEND="${RDEPEND} + test? ( + virtual/openssh[ssl] + dev-cpp/doctest + )" + +DOCS=( AUTHORS NEWS.md README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-disable-tests.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + filter-lto + + econf \ + --disable-static \ + --with-ncurses \ + $(use_with test system-doctest) +} |