summaryrefslogtreecommitdiff
blob: d3da38725c7a7d3e54cca9b1459b7bb02a812f52 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsurfer+/logsurfer+-1.7.ebuild,v 1.1 2006/12/30 01:06:27 matsuu Exp $

inherit toolchain-funcs

DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
SRC_URI="http://kerryt.orcon.net.nz/${P}.tar.gz
	http://www.crypt.gen.nz/logsurfer/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_compile() {
	econf --with-etcdir=/etc || die
	emake CC="$(tc-getCC)" || die
}

src_install() {
	dobin src/logsurfer || die
	doman man/logsurfer.1 man/logsurfer.conf.4 || die

	newinitd "${FILESDIR}"/logsurfer.initd logsurfer || die
	newconfd "${FILESDIR}"/logsurfer.confd logsurfer || die
	dodoc ChangeLog README TODO
	docinto config-examples
	dodoc config-examples/*
}