summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-01-27 23:13:33 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-01-27 23:30:46 +0100
commit4181e03f9e080b6befba78c7f303619fbdd858d8 (patch)
tree86137da80565f081fd98a81ce6b550b82816d33f /app-misc
parentwww-client/firefox: amd64 stable wrt bug #645510 (diff)
downloadgentoo-4181e03f9e080b6befba78c7f303619fbdd858d8.tar.gz
gentoo-4181e03f9e080b6befba78c7f303619fbdd858d8.tar.bz2
gentoo-4181e03f9e080b6befba78c7f303619fbdd858d8.zip
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
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/clog/Manifest1
-rw-r--r--app-misc/clog/clog-1.3.0.ebuild33
-rw-r--r--app-misc/clog/metadata.xml12
3 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/clog/Manifest b/app-misc/clog/Manifest
new file mode 100644
index 000000000000..fc1fed38611f
--- /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 000000000000..5cb5f75f66f0
--- /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 000000000000..5d2ce2f99a83
--- /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>alicef@gentoo.org</email>
+ <name>Alice Ferrazzi</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+</pkgmetadata>