summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-04-19 23:54:17 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-04-19 23:54:17 +0200
commit8f76dc81461f4bc409219a30c698db21f053aa85 (patch)
tree25164415aae00720dc607c04ad198311f2ae2d00 /dev-util/dwdiff
parentapp-emulation/docker: 17.03.1 add IP_VS_RR kernel check (diff)
downloadgentoo-8f76dc81461f4bc409219a30c698db21f053aa85.tar.gz
gentoo-8f76dc81461f4bc409219a30c698db21f053aa85.tar.bz2
gentoo-8f76dc81461f4bc409219a30c698db21f053aa85.zip
dev-util/dwdiff: version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-util/dwdiff')
-rw-r--r--dev-util/dwdiff/Manifest1
-rw-r--r--dev-util/dwdiff/dwdiff-2.1.1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/dwdiff/Manifest b/dev-util/dwdiff/Manifest
index 2e7efdee1c1e..ebd3ec149b3d 100644
--- a/dev-util/dwdiff/Manifest
+++ b/dev-util/dwdiff/Manifest
@@ -1 +1,2 @@
DIST dwdiff-2.1.0.tar.bz2 79224 SHA256 45308f2f07c08c75c6ebd1eae3e3dcf7f836e5af1467cefc1b4829777c07743a SHA512 63e5ea3ae510c84fa2353da55bbc3cfac3a3753e1cebfb42c387218289a5e19d8e68af663181720a55eca05e49ef075db7d5dafda9dc4d57b9af503553ae9021 WHIRLPOOL 74ceba5cc7c20e0ab6ee09b62f7e8b07a1b8321bbe60ca7c3791c35176ba7137ddf17b1c471ff5ac0586ad0455e67968c71bf00f2de7cb137720b88a85c8f181
+DIST dwdiff-2.1.1.tar.bz2 79628 SHA256 9745860faad6cb58744c7c45d16c0c7e222896c80d0cd7208dd36126d1a98c8b SHA512 b3392ef01c0701ea7738f1b539dab81727735e5de8ea77b56feae4e2f64dbda0155b479d7be0eedb65fc56ebc8d1a22c1ca67075abdec54205ad9c305b3751b7 WHIRLPOOL 96bb2a7f7a8afe857a21af4cec388c5663fa90bd87a82e99fc614106171a562b7183f44170a9eb5c8839519a71dcfff2e679e25890c0d58dc22c650e957f046d
diff --git a/dev-util/dwdiff/dwdiff-2.1.1.ebuild b/dev-util/dwdiff/dwdiff-2.1.1.ebuild
new file mode 100644
index 000000000000..252cdd66239f
--- /dev/null
+++ b/dev-util/dwdiff/dwdiff-2.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="diff-like program that operates at the word level instead of the line level"
+HOMEPAGE="http://os.ghalkes.nl/dwdiff.html"
+SRC_URI="http://os.ghalkes.nl/dist/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+CDEPEND="dev-libs/icu:="
+
+RDEPEND="
+ ${CDEPEND}
+ sys-apps/diffutils"
+
+DEPEND="
+ ${CDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/INSTALL/s:COPYING::' \
+ Makefile.in || die
+}
+
+src_configure() {
+ ./configure \
+ --prefix=/usr \
+ $(use_with nls gettext)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install
+}