From 7232b0256da0c1b1577ce3bf55868d74f36f4dd4 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 21 Feb 2007 00:54:53 +0000 Subject: mergelog: added splitlog patch --- (limited to 'www-misc/mergelog/mergelog-4.5.ebuild') diff --git a/www-misc/mergelog/mergelog-4.5.ebuild b/www-misc/mergelog/mergelog-4.5.ebuild index 3944793..e3c14e7 100644 --- a/www-misc/mergelog/mergelog-4.5.ebuild +++ b/www-misc/mergelog/mergelog-4.5.ebuild @@ -1,18 +1,31 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/mergelog/mergelog-4.5.ebuild,v 1.3 2006/10/28 11:03:32 tomk Exp $ +# $Header: $ + +inherit eutils autotools DESCRIPTION="A utility to merge apache logs in chronological order" SRC_URI="mirror://sourceforge/mergelog/${P}.tar.gz" HOMEPAGE="http://mergelog.sourceforge.net" -IUSE="" +IUSE="splitlog" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ppc ~amd64" -DEPEND="virtual/libc" -RDEPEND="" +DEPEND=" + virtual/libc + splitlog? ( sys-devel/autoconf ) +" + +src_unpack() { + unpack $A + cd $S + if use splitlog ; then + epatch ${FILESDIR}/${PN}-split.patch + eautoreconf + fi +} src_compile() { econf || die "configure failed" -- cgit v0.9.0.2