blob: c227529fd2e51490b40309e1ea8267396cf1b2f4 (
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
39
40
41
42
43
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/newsyslog-1.1.ebuild,v 1.2 2003/11/14 21:21:29 seemant Exp $
DESCRIPTION="An enhanced version of newsyslog originally written by Theodore Ts'o"
HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html"
SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm"
DEPEND="sys-apps/groff"
RDEPEND="virtual/cron
app-arch/gzip"
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/newsyslog-html.patch
}
src_compile() {
myconf="--with-syslogd_pid=/var/run/syslog.pid"
pkglist | grep -q syslog-ng \
&& myconf="--with-syslogd_pid=/var/run/syslog-ng.pid"
econf \
--with-gzip \
--with-newsyslog_conf=/etc/newsyslog.conf \
${myconf}
emake || die
}
src_install() {
einstall catmandir=${D}/usr/share/man
rm -rf ${D}/usr/share/man/cat?
dodoc newsyslog.conf AUTHORS COPYING ChangeLog INSTALL NEWS README.* ToDo
prepalldocs
}
|