commit: 9f07ce05e0bce94a681de2a8c5a7cf5d467574a5 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sun Jun 23 17:52:02 2024 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Jun 23 19:45:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f07ce05
dev-util/dwdiff: add 2.1.4 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/37260 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-util/dwdiff/Manifest | 1 + dev-util/dwdiff/dwdiff-2.1.4.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-util/dwdiff/Manifest b/dev-util/dwdiff/Manifest index b48c24cb665d..dccebf17fc54 100644 --- a/dev-util/dwdiff/Manifest +++ b/dev-util/dwdiff/Manifest @@ -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 diff --git a/dev-util/dwdiff/dwdiff-2.1.4.ebuild b/dev-util/dwdiff/dwdiff-2.1.4.ebuild new file mode 100644 index 000000000000..0aabca1aaf44 --- /dev/null +++ b/dev-util/dwdiff/dwdiff-2.1.4.ebuild @@ -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}" +}
