summaryrefslogtreecommitdiff
path: root/app-misc/fdupes
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/fdupes')
-rw-r--r--app-misc/fdupes/Manifest4
-rw-r--r--app-misc/fdupes/fdupes-2.2.0.ebuild43
-rw-r--r--app-misc/fdupes/fdupes-9999.ebuild12
3 files changed, 53 insertions, 6 deletions
diff --git a/app-misc/fdupes/Manifest b/app-misc/fdupes/Manifest
index 467be66337c3..a5661e986e95 100644
--- a/app-misc/fdupes/Manifest
+++ b/app-misc/fdupes/Manifest
@@ -1,4 +1,6 @@
DIST fdupes-2.1.2.tar.gz 142266 BLAKE2B caf949b87baf0fecc87fef58f512d0a99e1219b57bc167992b0e40841ce67e5ddcf5307de7fc9c70f173e75aab4a12eb86abef0084084b5119f95326509ea665 SHA512 9c3761e7ce34f2d9d1b5ee49ebc3bf665e3d45e4146231bc77d7416801fbfa70415e80c81c64962897766ee068d1a103609895d783f20a765c351d4cd433323d
+DIST fdupes-2.2.0.tar.gz 144763 BLAKE2B 26a6f003b6e1b536d02da1f4b5e9051c3da19ae67c6cbdfb3cf2060ae68288b9ebdf64ca911e60126a6646895f6a6d7158c23b28c20b415ee341a8dd29820aaf SHA512 83f7bb9c3dc44ef5356c02b1db7f7f0e5698f2b73dfbb8ea1176e9a7399167a7ffd8d416036792ede1ba106dfb221d72708f7e483ce96fb7faf6c23a4f43128b
EBUILD fdupes-2.1.2.ebuild 783 BLAKE2B 4fc90a4e2178f2483e6b64075a0d930a540893257a0753aebe9d822febb3b2ee01500f6d728d923b4ba74ad35c0a7d08eaaac11a4bcaaedabed649493c803845 SHA512 674992c3955962e5e37cce751aba9f2e13caf9ce72661d5daca47459d09dfff90b4101aa68466863d4116bc3dfd37b1f1df1c5157e16ec6bc8989be1ab6b833c
-EBUILD fdupes-9999.ebuild 975 BLAKE2B 9298658ad774b8f940ebd7a46a70c54e66f1ef14f73eed0a243de899b9cd565828bb42e8ae04880e616592a08aaad031e760619f04f47e7dcb35c10d2320dd04 SHA512 85751e90825aef480328e110e7a24f89bb18682f791a291d0507dd331e7c65eb4c162a26054f2ea8d3b79d0ee55fc296542ca073e3694588f588090efd80bf76
+EBUILD fdupes-2.2.0.ebuild 972 BLAKE2B 114e7840390bfbae58fcd4bb410538a42525d35469c36fd5745e9080864a59fd0f1ecddd9961abbc9a725b5ff65ea0819228a168457c2919d6ef5bb260ddc3ce SHA512 f9ce724576f8b1769c7f1fa408dcbe482b2f271176909a5b06d5a89855c333e9b9220ce84bfb74755b279c4624891de2500d99087efe6db6c5863d15b44d1e17
+EBUILD fdupes-9999.ebuild 972 BLAKE2B 114e7840390bfbae58fcd4bb410538a42525d35469c36fd5745e9080864a59fd0f1ecddd9961abbc9a725b5ff65ea0819228a168457c2919d6ef5bb260ddc3ce SHA512 f9ce724576f8b1769c7f1fa408dcbe482b2f271176909a5b06d5a89855c333e9b9220ce84bfb74755b279c4624891de2500d99087efe6db6c5863d15b44d1e17
MISC metadata.xml 354 BLAKE2B 1856a8a97481585a4c2df78ed004e7f560a9ab5433ca73a55f7895078d166c4f94a21bdb099cecc79ef6fda4ac7a68f5a9a5c50f3a8ddac5f4b1e5e42e1d9470 SHA512 5a21ed62cd9553f55ffb9ca06e904a2ec4540a9656934e2e4c47b85f5a63667afbce639851cd9b6b2123a41611fa1dc71c71793163f44dddc12c7019c6dce871
diff --git a/app-misc/fdupes/fdupes-2.2.0.ebuild b/app-misc/fdupes/fdupes-2.2.0.ebuild
new file mode 100644
index 000000000000..5cf8c66e6420
--- /dev/null
+++ b/app-misc/fdupes/fdupes-2.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/adrianlopezroche/fdupes.git"
+ inherit autotools git-r3
+else
+ SRC_URI="https://github.com/adrianlopezroche/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="+ncurses"
+
+RDEPEND="
+ dev-libs/libpcre2[pcre32]
+ ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( CHANGES CONTRIBUTORS README )
+
+src_prepare() {
+ default
+
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf $(use_with ncurses)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
diff --git a/app-misc/fdupes/fdupes-9999.ebuild b/app-misc/fdupes/fdupes-9999.ebuild
index 33ac17e5539a..5cf8c66e6420 100644
--- a/app-misc/fdupes/fdupes-9999.ebuild
+++ b/app-misc/fdupes/fdupes-9999.ebuild
@@ -1,26 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
DESCRIPTION="Identify/delete duplicate files residing within specified directories"
HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
-if [[ "${PV}" == *9999 ]] ; then
- inherit autotools git-r3
+if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/adrianlopezroche/fdupes.git"
+ inherit autotools git-r3
else
SRC_URI="https://github.com/adrianlopezroche/${PN}/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
fi
+
LICENSE="MIT"
SLOT="0"
IUSE="+ncurses"
RDEPEND="
dev-libs/libpcre2[pcre32]
- ncurses? ( sys-libs/ncurses:0= )
+ ncurses? ( sys-libs/ncurses:= )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
@@ -29,7 +30,8 @@ DOCS=( CHANGES CONTRIBUTORS README )
src_prepare() {
default
- [[ "${PV}" == *9999 ]] && eautoreconf
+
+ [[ ${PV} == *9999 ]] && eautoreconf
}
src_configure() {