mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-misc/jdupes: add 1.30.0
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
parent
71b9395bba
commit
0528e3f64b
@ -1 +1,2 @@
|
||||
DIST jdupes-1.28.0.tar.gz 176657 BLAKE2B 51f560db6b49eefd1ddc249d05e4034321fae03e6ba8d316c964e021dfca658e8f46311eebb261fad922060c4ecbced2316cb780c71e88cb021b084f31f181c9 SHA512 5de369b92653382845bf89f4a1fe894cee9914cd0124c3ca0217d05e5cef14050a14ad538e154c970f81b1b300e02fd055befdbbcd1c79bd790e6e26a4be5b84
|
||||
DIST jdupes-1.30.0.tar.gz 178406 BLAKE2B 94841775e962b6fcca931588984870139ff8ed0fa4b92c6d265117b81d7e891c43f5d49dff20853c8fc835726f62f15671a5d98b2597b38520b478888ab02eb4 SHA512 154fc8d3851478f7128878796f266593bc52811b4d940c6dc2887d07298a0dcdd4f8ecb964544dc0a999c6025dfd3d8853b3082bc7a588b7622b0b5742034fee
|
||||
|
||||
48
app-misc/jdupes/jdupes-1.30.0.ebuild
Normal file
48
app-misc/jdupes/jdupes-1.30.0.ebuild
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 2021-2025 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://codeberg.org/jbruchon/jdupes"
|
||||
if [[ "${PV}" == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://codeberg.org/jbruchon/jdupes.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://codeberg.org/jbruchon/jdupes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
fi
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
# Please keep a careful eye on the minimum libjoycode version! (Just pick
|
||||
# latest released at the time if necessary.)
|
||||
DEPEND=">=dev-libs/libjodycode-3.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="+dedupe hardened"
|
||||
|
||||
# tests exists, but are empty (dropped by upstream)
|
||||
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 hardened 'HARDEN=1' '')
|
||||
)
|
||||
emake ${myconf[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user