dev-util/dwdiff: add 2.1.4

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37260
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2024-06-23 19:52:02 +02:00
committed by Conrad Kostecki
parent eb1c0700ad
commit 9f07ce05e0
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST dwdiff-2.1.3.tar.bz2 79862 BLAKE2B 72eb07071de413526b70ebfd30030394c8bc4958bd14128b9a8b87a76561e4bfbd61064def314a4b989da027664d999cfb9a4ac9ab6f1b06cbe3f38f271e538e SHA512 e4375658ddb919d763bedacd122e5597a4c3cd40ddff2c954c6cc88e5047d20d4d3b18eaf75c6835be21e1f72e2622e25b212ae9882d8eaa36874af3f6de4b3f
DIST dwdiff-2.1.4.tar.bz2 79857 BLAKE2B b4b54c82137097c7e3e3438b08dcc9da83aa127f72dd30b995a18b2b11ed3f419dce44762872407f4070b6b9dbca6a2d33dc24e0ed1363405fdaa638852d036f SHA512 8a2bffcf5f170a5a1fc2885a04d8e7cd054cebeed98a5e2695b609d3199c8c8bdeda6f3a9497888237e6cbfb570a4699aa66f4e062cb6aa109cbb7792a75a5f3

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="diff-like program operating at word level instead of line level"
HOMEPAGE="https://os.ghalkes.nl/dwdiff.html"
SRC_URI="https://os.ghalkes.nl/dist/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
IUSE="nls"
RDEPEND="
dev-libs/icu:=
sys-apps/diffutils"
DEPEND="${RDEPEND}"
BDEPEND="nls? ( sys-devel/gettext )"
src_prepare() {
default
sed -i -e '/INSTALL/s:COPYING::' Makefile.in || die
}
src_configure() {
./configure \
--prefix="${EPREFIX}"/usr \
$(use_with nls gettext) || die
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}