# Copyright 1999-2026 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Read-only FUSE driver and forensics toolkit for Tru64 AdvFS" HOMEPAGE="https://lab.simple-co.de/zappel/advfs-fuse" GIT_TAG="v${PV}" SRC_URI="https://lab.simple-co.de/zappel/${PN}/-/archive/${GIT_TAG}/${PN}-${GIT_TAG}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${GIT_TAG}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="+fuse +tools" REQUIRED_USE="|| ( fuse tools )" RDEPEND=" fuse? ( sys-fs/fuse:3 ) " DEPEND="${RDEPEND}" src_compile() { if use fuse && use tools; then emake elif use fuse; then emake fuse else emake tool fi } src_test() { emake test } src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install dodoc README.md dodoc docs/architecture.md }