blob: d96047a17c187f1cce4c0545450abfef00228ebe (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.3.4.ebuild,v 1.4 2006/02/27 16:35:20 chutzpah Exp $
inherit eutils
DESCRIPTION="Log parsing and notification program"
HOMEPAGE="http://tenshi.gentoo.org"
SRC_URI="mirror://gentoo/${P}.tar.gz
http://www.gentoo.org/~lcars/tenshi/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
IUSE=""
RDEPEND="dev-lang/perl
sys-apps/coreutils"
pkg_setup() {
enewgroup tenshi
enewuser tenshi -1 -1 /var/lib/tenshi tenshi
}
src_install() {
sed -i -e "s:-o tenshi::" Makefile
emake DESTDIR=${D} install
fowners tenshi:root /etc/tenshi/tenshi.conf
fowners tenshi:root /var/lib/tenshi
doman tenshi.8
exeinto /etc/init.d
newexe tenshi.gentoo-init tenshi
keepdir /var/lib/tenshi
}
|