summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-07-07 12:51:09 -0500
committerAustin English <wizardedit@gentoo.org>2016-07-07 13:00:22 -0500
commit77f60f103c9d13ccf2051c504dad5c29e9eaeffa (patch)
tree2a5a4c713fc3aacdda8d2152bde53d169a16fb60 /app-admin/ccze/ccze-0.2.1-r4.ebuild
parentmedia-fonts/ahem: add missing maintainer-needed, bump to EAPI 6 (diff)
downloadgentoo-77f60f103c9d13ccf2051c504dad5c29e9eaeffa.tar.gz
gentoo-77f60f103c9d13ccf2051c504dad5c29e9eaeffa.tar.bz2
gentoo-77f60f103c9d13ccf2051c504dad5c29e9eaeffa.zip
app-admin/ccze: bump to EAPI 6, add maintainer-needed
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-admin/ccze/ccze-0.2.1-r4.ebuild')
-rw-r--r--app-admin/ccze/ccze-0.2.1-r4.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/ccze/ccze-0.2.1-r4.ebuild b/app-admin/ccze/ccze-0.2.1-r4.ebuild
new file mode 100644
index 000000000000..9f8f5513758d
--- /dev/null
+++ b/app-admin/ccze/ccze-0.2.1-r4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit fixheadtails autotools eutils toolchain-funcs
+
+DESCRIPTION="A flexible and fast logfile colorizer"
+HOMEPAGE="https://dev.gentoo.org/~joker/ccze/ccze.txt"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+RESTRICT="test"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-libs/libpcre
+ sys-libs/ncurses"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
+
+PATCHES=(
+ "${FILESDIR}"/ccze-fbsd.patch
+ "${FILESDIR}"/ccze-segfault.patch
+ "${FILESDIR}"/ccze-ldflags.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+)
+
+src_prepare() {
+ default
+
+ # GCC 4.x fixes
+ sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
+ -i src/Makefile.in || die
+ sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
+ -i configure.ac || die
+
+ eautoreconf
+
+ ht_fix_file Rules.mk.in
+
+ tc-export CC
+}