diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-01 12:11:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-01 12:11:11 +0000 |
| commit | ef5d772cb212bb9d3049523be8a7bd2e01301090 (patch) | |
| tree | 8345c2730a3aa49abe87d32a748203d81b1a7454 /dev-util/patchutils/patchutils-0.4.4.ebuild | |
| parent | d5751b1260fda1bd00ddfc78bb34b3c7afd9b343 (diff) | |
| download | srcux-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.gz srcux-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.xz srcux-ef5d772cb212bb9d3049523be8a7bd2e01301090.zip | |
Adding metadata
Diffstat (limited to 'dev-util/patchutils/patchutils-0.4.4.ebuild')
| -rw-r--r-- | dev-util/patchutils/patchutils-0.4.4.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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) +} |
