diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-11 12:40:40 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-12-11 12:53:35 +0100 |
commit | dcfe7049c3cd796ea65b067bcb525cf08f1a0b5e (patch) | |
tree | 53fac2407afa395e6ed9126f6b3f6900002ea0c7 /app-misc/jdupes | |
parent | sci-mathematics/polymake: stabilize 4.6-r1 for amd64 (diff) | |
download | gentoo-dcfe7049c3cd796ea65b067bcb525cf08f1a0b5e.tar.gz gentoo-dcfe7049c3cd796ea65b067bcb525cf08f1a0b5e.tar.bz2 gentoo-dcfe7049c3cd796ea65b067bcb525cf08f1a0b5e.zip |
app-misc/jdupes: add 1.21.1
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.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest index e1218c52a0fb..4581ab61a488 100644 --- a/app-misc/jdupes/Manifest +++ b/app-misc/jdupes/Manifest @@ -1,2 +1,3 @@ DIST jdupes-1.20.2.tar.gz 94319 BLAKE2B 1c24c0e4176b2be56c4d1a7a780a7f2aaa080d5527ef2e96febd230ea18abe016fca2769e3c72d1b2a295fa663ff69f8dc531d3f728ac00858d5f7d4ff6949bd SHA512 21deb839d4f7e072ce08bacc6b595ac9ccd4ac6fac538d0aab69a4c12ac3d3bb5c98cd03eab9415e991ec9cdfaec7548656470e85c148528f4890b21f7223714 DIST jdupes-1.21.0.tar.gz 96407 BLAKE2B e1c770826654b7db058b1f311f73cb00f3ef71aa99a71ebd192a73f4f420c5cef8b979af96081c826f7c2b0487710afc6db15df921a9a6dba3816641acab545a SHA512 1671e33175bba16499f5e8a82a1e99e63fd763eb9b195c1e11117e65efbf7a27156b160b86dde6f9d538d6e9690f50e49f8387c4992171f4467c08a866b7d554 +DIST jdupes-1.21.1.tar.gz 97397 BLAKE2B 1d59707fdd0c821ca1bb21333a485deac08bfe66d3d0c5c70f616f8bfc8cce4e6310b2ecc0906fb5caf7031688b49f795d03c4ac4a431d1de4134a960d3167bd SHA512 41419e3947af6bafdf13b787c5c51f59f31db97b8b4a1da47d8c92de31a9a9c9cd6880a38ffdbc9e7dffc821371efee6b2474afd8ce25524a4c015f9465a687f diff --git a/app-misc/jdupes/jdupes-1.21.1.ebuild b/app-misc/jdupes/jdupes-1.21.1.ebuild new file mode 100644 index 000000000000..a7b4d25824fd --- /dev/null +++ b/app-misc/jdupes/jdupes-1.21.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2022 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 +} |