1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit fixheadtails autotools eutils toolchain-funcs
8 DESCRIPTION="A flexible and fast logfile colorizer"
9 HOMEPAGE="https://github.com/madhouse/ccze/releases"
10 SRC_URI="mirror://gentoo/${P}.tar.gz"
16 KEYWORDS="amd64 ~arm ppc x86"
19 DEPEND="dev-libs/libpcre
24 DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
27 "${FILESDIR}"/ccze-fbsd.patch
28 "${FILESDIR}"/ccze-segfault.patch
29 "${FILESDIR}"/ccze-ldflags.patch
30 "${FILESDIR}"/${P}-tinfo.patch
37 sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
38 -i src/Makefile.in || die
39 sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
40 -i configure.ac || die
44 ht_fix_file Rules.mk.in