blob: 39bd9aa30b32bc17de19a4311cc187ba945b93b1 [file] [log] [blame]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logmon/logmon-0.4.4.ebuild,v 1.9 2008/12/18 22:26:48 loki_val Exp $
inherit eutils autotools
MY_P="LogMon-${PV}"
DESCRIPTION="Split-screen terminal/ncurses based log viewer"
HOMEPAGE="http://www.edespot.com/code/LogMon/"
SRC_URI="http://www.edespot.com/code/LogMon/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="amd64 ~ppc ppc64 x86"
IUSE=""
DEPEND="sys-libs/ncurses"
src_unpack() {
unpack ${A}
cd "${S}"
# bug 119403 - should be in upstream next release
epatch "${FILESDIR}"/${PN}-0.4.4-char2int.diff
# bug 250602, gcc43 fix
epatch "${FILESDIR}"/${PN}-0.4.4-gcc43.patch
#Fixes maintainer-mode detected
epatch "${FILESDIR}"/${PN}-0.4.4-maintainer-mode.patch
eautoreconf
}
src_install() {
dobin logmon || die
dodoc AUTHORS ChangeLog README TODO
}