sys-fs/gcsfuse: add 2.11.2

Closes: https://bugs.gentoo.org/956317
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2025-06-07 10:44:44 +03:00
parent 764e9c7f33
commit c4f01cd0c1
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A user-space file system for interacting with Google Cloud Storage"
HOMEPAGE="https://github.com/GoogleCloudPlatform/gcsfuse"
SRC_URI="https://github.com/GoogleCloudPlatform/gcsfuse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}-vendor.tar.xz"
RDEPEND="sys-fs/fuse"
BDEPEND=">=dev-lang/go-1.21.0"
# generated using dev-go/golicense
LICENSE="Apache-2.0 BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# tests require goimports, then fail anyway
RESTRICT="test"
src_compile() {
ego build -ldflags "-X main.gcsfuseVersion=${PV}" -v -x -work -o "${PN}" || die "build failed"
}
src_install() {
einstalldocs
dodoc -r docs
dobin gcsfuse
}