123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Copyright 1999-2017 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- EAPI=5
- 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 ~arm ppc x86 ~x86-fbsd"
- IUSE=""
- DEPEND="dev-libs/libpcre
- sys-libs/ncurses:0="
- RDEPEND="${DEPEND}"
- DOCS=( AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ )
- src_prepare() {
- epatch "${FILESDIR}"/ccze-fbsd.patch
- epatch "${FILESDIR}"/ccze-segfault.patch
- epatch "${FILESDIR}"/ccze-ldflags.patch
- epatch "${FILESDIR}"/${P}-tinfo.patch
- # 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
- }
|