summaryrefslogtreecommitdiff
blob: eb6d5149c42657b5b4c5f85225873a6eae60ac92 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/comparator/comparator-2.2.ebuild,v 1.4 2004/06/25 02:23:40 agriffis Exp $

DESCRIPTION="ESR's utility for making fast comparisons among large source trees"
HOMEPAGE="http://www.catb.org/~esr/comparator/"
SRC_URI="mirror://gentoo/${P}.tar.gz
	 http://www.catb.org/~esr/comparator/${P}.tar.gz"
LICENSE="as-is GPL-2"
SLOT="0"
KEYWORDS="x86 sparc mips"
IUSE=""
DEPEND=""

src_compile() {

	# Fix the Makefile to accept our CFLAGS
	mv ${S}/Makefile ${S}/Makefile.orig
	sed -e "s/CFLAGS  = -O3/CFLAGS  = ${CFLAGS}/" ${S}/Makefile.orig > ${S}/Makefile
	emake || die
}

src_install() {
	dobin comparator
	dobin filterator
	doman comparator.1
}