gentoo-ebuilds/sys-fs/fatcat/fatcat-1.1.1-r2.ebuild
Ben Kohler 5988fe1ddf
sys-fs/fatcat: add cmake-4 fix from upstream
Closes: https://bugs.gentoo.org/959483
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2025-07-15 06:10:50 -05:00

28 lines
634 B
Bash

# Copyright 2018-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="FAT filesystems explore, extract, repair, and forensic tool"
HOMEPAGE="https://github.com/Gregwar/fatcat"
SRC_URI="https://github.com/Gregwar/fatcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="!elibc_glibc? ( sys-libs/argp-standalone )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/fatcat-1.1.1-musl-1.2.4-fixes.patch"
"${FILESDIR}/fatcat-1.1.1-cmake4-compat.patch"
)
src_install() {
cmake_src_install
doman man/${PN}.1
dodoc docs/*.md
}