summaryrefslogtreecommitdiff
path: root/dev-util/patchutils
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-01 12:11:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-01 12:11:11 +0000
commitef5d772cb212bb9d3049523be8a7bd2e01301090 (patch)
tree8345c2730a3aa49abe87d32a748203d81b1a7454 /dev-util/patchutils
parentd5751b1260fda1bd00ddfc78bb34b3c7afd9b343 (diff)
downloadbaldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.gz
baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.xz
baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.zip
Adding metadata
Diffstat (limited to 'dev-util/patchutils')
-rw-r--r--dev-util/patchutils/Manifest1
-rw-r--r--dev-util/patchutils/patchutils-0.4.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/patchutils/Manifest b/dev-util/patchutils/Manifest
index b895d9da037d..779cb271db4b 100644
--- a/dev-util/patchutils/Manifest
+++ b/dev-util/patchutils/Manifest
@@ -1 +1,2 @@
DIST patchutils-0.4.2.tar.xz 159504 BLAKE2B 3ffcda8497b010a88e8601005871fb691ea8cac6158276862ba8e4192c333a335965288f9b5451c2fbc0a873ef95eb4a485d265387b43b0cec31b6c18d38f88e SHA512 20970d52fd43c09dc7799297b9a9eb6f60ba29ecc750d49381a2dc52273dfe484a47696cddd541f623394fa3486734cf337297cbeab6b1b244511c7740f46897
+DIST patchutils-0.4.4.tar.xz 424248 BLAKE2B 65a855a5164c193262002dc2a13a5a253d5b308ed431d49fd231ef587df2c9924b26b6c683c6162a9810290aaa65c9a4fba5e3b503517d1f815e0bd30e7be9dc SHA512 26f3ee959d7f8d7d5718ecf361436709559c62d6235114faac9a84442e9df4fb271f85eea5d96dae3969e96d88fdd9c1a9b5246696ef548fad71a8f29a026a84
diff --git a/dev-util/patchutils/patchutils-0.4.4.ebuild b/dev-util/patchutils/patchutils-0.4.4.ebuild
new file mode 100644
index 000000000000..da749ec62987
--- /dev/null
+++ b/dev-util/patchutils/patchutils-0.4.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Collection of tools that operate on patch files"
+HOMEPAGE="https://cyberelk.net/tim/software/patchutils/"
+SRC_URI="https://github.com/twaugh/patchutils/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="pcre"
+
+RDEPEND="pcre? ( dev-libs/libpcre2:= )"
+DEPEND="
+ ${RDEPEND}
+ elibc_musl? ( >=sys-libs/error-standalone-2.0 )
+"
+BDEPEND="virtual/pkgconfig"
+RDEPEND+="
+ !<app-shells/bash-completion-2.16.0-r3
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ tc-export PKG_CONFIG
+
+ if use elibc_musl; then
+ export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)"
+ export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)"
+ fi
+
+ econf $(use_with pcre pcre2)
+}