# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=9 inherit autotools DESCRIPTION="Terminal I/O logger" HOMEPAGE="http://scribery.github.io/tlog/" if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/Scribery/tlog.git" else SRC_URI="https://github.com/Scribery/${PN}/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="" SLOT="0" IUSE="debug systemd utempter" RDEPEND=" dev-libs/json-c net-misc/curl:= systemd? ( sys-apps/systemd ) utempter? ( sys-libs/libutempter ) " DEPEND="${RDEPEND}" src_prepare() { default eautoreconf } src_configure() { local myeconfargs=( $(use_enable debug) $(use_enable systemd journal) $(use_enable utempter) ) econf "${myeconfargs[@]}" } src_install() { default find "${ED}" -type f -name "*.la" -delete || die }