mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
sys-fs/gcsfuse: add 1.2.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
29
sys-fs/gcsfuse/gcsfuse-1.2.0.ebuild
Normal file
29
sys-fs/gcsfuse/gcsfuse-1.2.0.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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://gentoo.kropotkin.rocks/go-pkgs/${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"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user