diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2023-03-27 22:00:12 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2023-03-27 22:00:12 +0200 |
commit | 53faa079425bf783bd9368fe08d248c754823b81 (patch) | |
tree | 6d6587bc0c03b3698301e630be27e721c976d049 /app-misc/jdupes | |
parent | profiles/arch/riscv: Remove obsolete masks (diff) | |
download | gentoo-53faa079425bf783bd9368fe08d248c754823b81.tar.gz gentoo-53faa079425bf783bd9368fe08d248c754823b81.tar.bz2 gentoo-53faa079425bf783bd9368fe08d248c754823b81.zip |
app-misc/jdupes: add 1.21.3
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-misc/jdupes')
-rw-r--r-- | app-misc/jdupes/Manifest | 1 | ||||
-rw-r--r-- | app-misc/jdupes/jdupes-1.21.3.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest index 0cafcec1deff..2b49fddc2fea 100644 --- a/app-misc/jdupes/Manifest +++ b/app-misc/jdupes/Manifest @@ -1,2 +1,3 @@ DIST jdupes-1.21.0.tar.gz 96407 BLAKE2B e1c770826654b7db058b1f311f73cb00f3ef71aa99a71ebd192a73f4f420c5cef8b979af96081c826f7c2b0487710afc6db15df921a9a6dba3816641acab545a SHA512 1671e33175bba16499f5e8a82a1e99e63fd763eb9b195c1e11117e65efbf7a27156b160b86dde6f9d538d6e9690f50e49f8387c4992171f4467c08a866b7d554 DIST jdupes-1.21.1.tar.gz 97397 BLAKE2B 1d59707fdd0c821ca1bb21333a485deac08bfe66d3d0c5c70f616f8bfc8cce4e6310b2ecc0906fb5caf7031688b49f795d03c4ac4a431d1de4134a960d3167bd SHA512 41419e3947af6bafdf13b787c5c51f59f31db97b8b4a1da47d8c92de31a9a9c9cd6880a38ffdbc9e7dffc821371efee6b2474afd8ce25524a4c015f9465a687f +DIST jdupes-1.21.3.tar.gz 155979 BLAKE2B b7d978aa8cc4574ce3a201e283a1cfccf6751689725f5307b78e47a9f1defd360d58be3ba2f558a6f40e7108a1ea4f0dd3c14d2332d14278c4114d303da3eea6 SHA512 22284adb1650dc44dfc74320799ac68e02e8d31685dd376d5f938d10308d117ae8af39273fbfec73f7e5a22e9685be96c92f0e12d9ebc81f11c255ada60abe83 diff --git a/app-misc/jdupes/jdupes-1.21.3.ebuild b/app-misc/jdupes/jdupes-1.21.3.ebuild new file mode 100644 index 000000000000..73979531f0dc --- /dev/null +++ b/app-misc/jdupes/jdupes-1.21.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Identify duplicate files on the filesystem" +HOMEPAGE="https://github.com/jbruchon/jdupes" +if [[ "${PV}" == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/jbruchon/jdupes.git" + inherit git-r3 +else + SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" + +IUSE="+dedupe lowmem hardened" + +# missing test.sh script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +src_prepare() { + sed -i -e '/PREFIX/s/=/?=/' Makefile || die + default +} + +src_compile() { + tc-export CC + local myconf=( + $(usex dedupe 'ENABLE_DEDUPE=1' '') + $(usex lowmem 'LOW_MEMORY=1' '') + $(usex hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +} |