summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-11-28 20:08:40 +0100
committerPacho Ramos <pacho@gentoo.org>2017-11-28 20:08:40 +0100
commit9fe379a2f9ebe028bec92ab83e3c01b1f32a4d2d (patch)
treea2b2f332c2bd16206c6346cd4e4233ba4d772f9f /sys-apps/colorized-logs
parentapp-office/libreoffice: Add 6.0 stable branch (diff)
downloadgentoo-9fe379a2f9ebe028bec92ab83e3c01b1f32a4d2d.tar.gz
gentoo-9fe379a2f9ebe028bec92ab83e3c01b1f32a4d2d.tar.bz2
gentoo-9fe379a2f9ebe028bec92ab83e3c01b1f32a4d2d.zip
sys-apps/colorized-logs: Add new package for playing with asci colors
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sys-apps/colorized-logs')
-rw-r--r--sys-apps/colorized-logs/Manifest1
-rw-r--r--sys-apps/colorized-logs/colorized-logs-2.1.ebuild24
-rw-r--r--sys-apps/colorized-logs/metadata.xml8
3 files changed, 33 insertions, 0 deletions
diff --git a/sys-apps/colorized-logs/Manifest b/sys-apps/colorized-logs/Manifest
new file mode 100644
index 000000000000..1a28835356c0
--- /dev/null
+++ b/sys-apps/colorized-logs/Manifest
@@ -0,0 +1 @@
+DIST colorized-logs-2.1.tar.gz 9997 BLAKE2B 5d6b184102c63dad8526f1feebbd84531a18f2505801f4bedd62cbdfa04bd919b750b60b37fec5449b1a5b98500dcbd7feec7b7155ca0c779d31ea66d8305e28 SHA512 d03919cfa19d6df41bcb9dd6bb29e436febff4ed4d50d9ce83910bfdb61acbf323ecd4dcf9eaa9cfae3bb338b2107f1d156815848b8da8b470c50651650dfee1
diff --git a/sys-apps/colorized-logs/colorized-logs-2.1.ebuild b/sys-apps/colorized-logs/colorized-logs-2.1.ebuild
new file mode 100644
index 000000000000..2d9ecaf97f24
--- /dev/null
+++ b/sys-apps/colorized-logs/colorized-logs-2.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="Tools for logs with ANSI color"
+HOMEPAGE="https://github.com/kilobyte/colorized-logs/"
+SRC_URI="https://github.com/kilobyte/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+ cmake-utils_src_install
+ # Rename to not collide with dev-python/ansi2html
+ mv "${ED}/usr/bin/ansi2html" "${ED}/usr/bin/cl-ansi2html" || die
+ mv "${ED}/usr/share/man/man1/ansi2html.1" "${ED}/usr/share/man/man1/cl-ansi2html.1" || die
+}
diff --git a/sys-apps/colorized-logs/metadata.xml b/sys-apps/colorized-logs/metadata.xml
new file mode 100644
index 000000000000..3da97a9953cc
--- /dev/null
+++ b/sys-apps/colorized-logs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pacho@gentoo.org</email>
+ <name>Pacho Ramos</name>
+ </maintainer>
+</pkgmetadata>