summaryrefslogtreecommitdiff
blob: 4a44525b9a02b2e1eb46949fe9c82a5cb5676dbe (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/cronolog/cronolog-1.6.2-r1.ebuild,v 1.7 2004/06/25 16:06:53 vapier Exp $

inherit eutils

DESCRIPTION="Cronolog apache logfile rotator"
HOMEPAGE="http://cronolog.org/"
SRC_URI="http://cronolog.org/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc amd64"
IUSE=""

DEPEND="virtual/libc"
RDEPEND="${DEPEND}
	net-www/apache"

src_unpack() {
	local a
	unpack ${A}
	cd ${S}
	for a in $( ls -1 ${FILESDIR}/${PV}-patches/ ); do
		epatch ${FILESDIR}/${PV}-patches/${a}
	done
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}