blob: a182605dd9e53994496e14cde9ad57cf12ba8638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1.ebuild,v 1.14 2006/03/11 23:34:05 joker Exp $
inherit fixheadtails autotools
DESCRIPTION="A flexible and fast logfile colorizer"
HOMEPAGE="http://bonehunter.rulez.org/software/ccze/"
SRC_URI="ftp://bonehunter.rulez.org/pub/ccze/stable/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc amd64 ppc"
IUSE=""
DEPEND="virtual/libc
sys-libs/ncurses
dev-libs/libpcre"
src_unpack() {
unpack ${A}
cd ${S}
# GCC 4.x fixes
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
-i src/Makefile.in
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
-i configure.ac
eautoreconf
ht_fix_file Rules.mk.in
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ
}
|