blob: 70e08baceab897071be9a46fdfa9458c478a71fc (
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
|
# Copyright 1999-2005 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-r2.ebuild,v 1.5 2005/08/26 18:15:07 ramereth 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="amd64 ppc x86"
IUSE=""
DEPEND="virtual/libc
>=sys-devel/autoconf-2.50"
RDEPEND=""
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${PV}-patches/*.txt
# Small hack till upstream fixes
touch config.guess config.sub
}
src_compile() {
export WANT_AUTOCONF=2.5
aclocal || die "aclocal failed"
autoconf || die "autoconf failed"
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
|