Diffstat (limited to 'www-misc/mergelog/mergelog-4.5.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r-- | www-misc/mergelog/mergelog-4.5.ebuild | 21 |
1 files changed, 17 insertions, 4 deletions
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,28 +1,41 @@ | |||
1 | # Copyright 1999-2006 Gentoo Foundation | 1 | # Copyright 1999-2006 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 | 2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/www-misc/mergelog/mergelog-4.5.ebuild,v 1.3 2006/10/28 11:03:32 tomk Exp $ | 3 | # $Header: $ |
4 | |||
5 | inherit eutils autotools | ||
4 | 6 | ||
5 | DESCRIPTION="A utility to merge apache logs in chronological order" | 7 | DESCRIPTION="A utility to merge apache logs in chronological order" |
6 | SRC_URI="mirror://sourceforge/mergelog/${P}.tar.gz" | 8 | SRC_URI="mirror://sourceforge/mergelog/${P}.tar.gz" |
7 | HOMEPAGE="http://mergelog.sourceforge.net" | 9 | HOMEPAGE="http://mergelog.sourceforge.net" |
8 | 10 | ||
9 | IUSE="" | 11 | IUSE="splitlog" |
10 | SLOT="0" | 12 | SLOT="0" |
11 | LICENSE="GPL-2" | 13 | LICENSE="GPL-2" |
12 | KEYWORDS="~x86 ppc ~amd64" | 14 | KEYWORDS="~x86 ppc ~amd64" |
13 | 15 | ||
14 | DEPEND="virtual/libc" | 16 | DEPEND=" |
15 | RDEPEND="" | 17 | virtual/libc |
18 | splitlog? ( sys-devel/autoconf ) | ||
19 | " | ||
20 | |||
21 | src_unpack() { | ||
22 | unpack $A | ||
23 | cd $S | ||
24 | if use splitlog ; then | ||
25 | epatch ${FILESDIR}/${PN}-split.patch | ||
26 | eautoreconf | ||
27 | fi | ||
28 | } | ||
16 | 29 | ||
17 | src_compile() { | 30 | src_compile() { |
18 | econf || die "configure failed" | 31 | econf || die "configure failed" |
19 | emake || die "make failed" | 32 | emake || die "make failed" |
20 | } | 33 | } |
21 | 34 | ||
22 | src_install() { | 35 | src_install() { |
23 | einstall | 36 | einstall |
24 | dobin src/mergelog src/zmergelog | 37 | dobin src/mergelog src/zmergelog |
25 | 38 | ||
26 | doman man/*.1 | 39 | doman man/*.1 |
27 | dodoc AUTHORS COPYING README | 40 | dodoc AUTHORS COPYING README |
28 | } | 41 | } |