# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /cvsroot/devel/gentoo-x86/securecirt/fetchlog/fetchlog-0.94.ebuild,v 1.1 2003/07/21 09:51:21 jasmine Exp $ DESCRIPTION="Fetchlog utility displays the last new messages of a logfile" HOMEPAGE="http://fetchlog.sourceforge.net/" SRC_URI="mirror://sourceforge/fetchlog/fetchlog-0.94.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc" IUSE="snmp" S=${WORKDIR}/${P} DEPEND="snmp? ( >=dev-perl/Net-SNMP-4.0.1-r2 >=net-analyzer/net-snmp-5.0.6 )" pkg_preinst() { einfo einfo "This utility can be used together with Nagios" einfo "To make use of these features you need to" einfo "install net-analyzer/nagios." einfo "This feature depends on SNMP, so make use you" einfo "have 'snmp' in your USE flags" einfo } src_compile() { emake || die } src_install() { dodoc CHANGES LICENSE README README.Nagios README.SNMP dobin fetchlog doman fetchlog.1 }