blob: 7558a1958bdc0dc5bb7efbe7dbec7ea41df37e65 (
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-2005 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.5 2005/09/13 21:49:15 dang 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="~amd64 mips sparc x86"
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
}
|