commit: 4181e03f9e080b6befba78c7f303619fbdd858d8 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Sat Jan 27 22:13:33 2018 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sat Jan 27 22:30:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4181e03f
app-misc/clog: new package. Clog is a colorized log tail utility. It can spot patterns in an input stream and colorize or suppress the lines. It can also decorate the lines with time- or date-stamps. Closes: https://bugs.gentoo.org/484218 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-misc/clog/Manifest | 1 + app-misc/clog/clog-1.3.0.ebuild | 33 +++++++++++++++++++++++++++++++++ app-misc/clog/metadata.xml | 12 ++++++++++++ 3 files changed, 46 insertions(+) diff --git a/app-misc/clog/Manifest b/app-misc/clog/Manifest new file mode 100644 index 00000000000..fc1fed38611 --- /dev/null +++ b/app-misc/clog/Manifest @@ -0,0 +1 @@ +DIST clog-1.3.0.tar.gz 705807 BLAKE2B 5e78cf1ed209ef7dae301175e11048eec3e9227ca740ae444a0302e5ee40af260349c9b02d8fe86a159c2db9bc29b5854240000f793e868b270a5852eb552229 SHA512 dfd4ae9c5e31be1620c246edd4b1642ff2351589da04c4fb805d3566e3efe0958ba6978fea567d40b7faeb217ba9f7b42b201a059f939c35564ee8f40b8b452a diff --git a/app-misc/clog/clog-1.3.0.ebuild b/app-misc/clog/clog-1.3.0.ebuild new file mode 100644 index 00000000000..5cb5f75f66f --- /dev/null +++ b/app-misc/clog/clog-1.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="clog is a colorized log tail utility" +HOMEPAGE="http://tasktools.org/projects/clog/" +SRC_URI="http://tasktools.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + # use the correct directory locations + sed -i -e "s:/usr/local/share/doc/clog/rc:${EPREFIX}/usr/share/clog/rc:" \ + doc/man/clog.1.in || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DTASK_DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} diff --git a/app-misc/clog/metadata.xml b/app-misc/clog/metadata.xml new file mode 100644 index 00000000000..5d2ce2f99a8 --- /dev/null +++ b/app-misc/clog/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ali...@gentoo.org</email> + <name>Alice Ferrazzi</name> + </maintainer> + <maintainer type="person"> + <email>monsie...@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> +</pkgmetadata>