summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/dirdiff')
-rw-r--r--dev-util/dirdiff/dirdiff-2.1-r3.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/dirdiff/dirdiff-2.1-r3.ebuild b/dev-util/dirdiff/dirdiff-2.1-r3.ebuild
new file mode 100644
index 000000000000..0310426e4e56
--- /dev/null
+++ b/dev-util/dirdiff/dirdiff-2.1-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic multilib 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 ~mips ~ppc ~x86"
+
+DEPEND="
+ dev-lang/tk:0=
+ dev-lang/tcl:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-include.patch"
+ "${FILESDIR}/${P}-build.patch"
+ "${FILESDIR}/${P}-vcs.patch"
+ "${FILESDIR}/${P}-tcl8.6.patch"
+ "${FILESDIR}/${P}-funky-chars.patch"
+)
+
+DOCS=( README )
+
+src_prepare() {
+ default
+ tc-export CC
+ append-cppflags -I"${EPREFIX}"/usr/include/tcl
+}
+
+src_install() {
+ dobin "${PN}"
+ dolib.so libfilecmp.so.0.0
+ dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so.0
+ dosym libfilecmp.so.0.0 /usr/$(get_libdir)/libfilecmp.so
+ einstalldocs
+}