app-admin/ccze: bump to EAPI 6, add maintainer-needed
authorAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 17:51:09 +0000 (12:51 -0500)
committerAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 18:00:22 +0000 (13:00 -0500)
Package-Manager: portage-2.2.28

app-admin/ccze/ccze-0.2.1-r4.ebuild [new file with mode: 0644]
app-admin/ccze/metadata.xml

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 (file)
index 0000000..9f8f551
--- /dev/null
@@ -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
+}
index a2d08b2e9bbd390cd3efa0c6c0a558fdfd320740..49a6829d2fd1e65aa3fcf3560484b1c79e144a36 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+<!-- maintainer-needed -->
 <longdescription>
  CCZE is my C port of RASZi's colorize, with a set of bug fixes and enhancements.
  It uses PCRE to do the matching, and NCurses for the output. The goal was to