summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-12-31 16:05:37 +0000
committerJeroen Roovers <jer@gentoo.org>2010-12-31 16:05:37 +0000
commit643abe1edc910111fa8980839c9edc2d13948a11 (patch)
tree0411f20d426ae94f492917cb31fdfa399c837bcd /dev-util/dirdiff/dirdiff-2.1-r1.ebuild
parentStable on amd64 wrt bug #350005 (diff)
downloadhistorical-643abe1edc910111fa8980839c9edc2d13948a11.tar.gz
historical-643abe1edc910111fa8980839c9edc2d13948a11.tar.bz2
historical-643abe1edc910111fa8980839c9edc2d13948a11.zip
Respect LDFLAGS (bug #335171), CC. Build PIC. Set SONAME (bug #214536). Set RDEPEND. Fix missing includes.
Package-Manager: portage-2.2.0_alpha10/cvs/Linux i686
Diffstat (limited to 'dev-util/dirdiff/dirdiff-2.1-r1.ebuild')
-rw-r--r--dev-util/dirdiff/dirdiff-2.1-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/dirdiff/dirdiff-2.1-r1.ebuild b/dev-util/dirdiff/dirdiff-2.1-r1.ebuild
new file mode 100644
index 000000000000..f090ef7cbc77
--- /dev/null
+++ b/dev-util/dirdiff/dirdiff-2.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dirdiff/dirdiff-2.1-r1.ebuild,v 1.1 2010/12/31 16:05:37 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A tool for differing and merging directories"
+SRC_URI="http://samba.org/ftp/paulus/${P}.tar.gz"
+HOMEPAGE="http://samba.org/ftp/paulus/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tk
+ dev-lang/tcl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+ sed -i Makefile -e 's|=-O3|+=|g' || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS} -fPIC ${LDFLAGS} -Wl,-soname,libfilecmp.so.0" \
+ || die
+}
+
+src_install() {
+ dobin dirdiff || die
+ dolib.so libfilecmp.so.0.0 || die
+ dodoc README
+}