summaryrefslogtreecommitdiff
blob: 18f0c1c2675a4918597143c767939c365aafc90f (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/dirdiff-1.6.ebuild,v 1.5 2005/06/09 17:08:22 sekretarz Exp $

IUSE=""
DESCRIPTION="Dirdiff is a graphical tool for displaying the differences between
directory trees and for merging changes from one tree into another."
SRC_URI="http://samba.org/ftp/paulus/${P}.tar.gz"
HOMEPAGE="http://samba.org/ftp/paulus/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc ~amd64"

DEPEND="dev-lang/tk
	dev-lang/tcl"

src_unpack() {
	unpack ${A}
	cd ${S}

	sed -i "s:CFLAGS=-O3 \(.*\):CFLAGS=${CFLAGS} -fPIC \1:" Makefile
}

src_compile() {
	emake || die
}

src_install() {
	dobin dirdiff || die
	dolib.so libfilecmp.so.0.0 || die
	dodoc README
}