From 3048cdc5db3f7ba70f61a6111be3f460390ae356 Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Wed, 12 Apr 2023 09:07:55 -0700 Subject: [PATCH] Initial ebuild for goofys. --- metadata/md5-cache/net-fs/goofys-0.24.0 | 14 +++++++++++ net-fs/goofys/Manifest | 2 ++ net-fs/goofys/goofys-0.24.0.ebuild | 31 +++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 metadata/md5-cache/net-fs/goofys-0.24.0 create mode 100644 net-fs/goofys/Manifest create mode 100644 net-fs/goofys/goofys-0.24.0.ebuild diff --git a/metadata/md5-cache/net-fs/goofys-0.24.0 b/metadata/md5-cache/net-fs/goofys-0.24.0 new file mode 100644 index 0000000..dcfd47f --- /dev/null +++ b/metadata/md5-cache/net-fs/goofys-0.24.0 @@ -0,0 +1,14 @@ +BDEPEND=>=dev-lang/go-1.10 +DEFINED_PHASES=compile install unpack +DEPEND=dev-lang/go +DESCRIPTION=A high-performance, user-space file system for mounting Amazon S3 buckets +EAPI=7 +HOMEPAGE=https://github.com/kahing/goofys +INHERIT=golang-vcs-snapshot +KEYWORDS=~amd64 ~x86 ~arm64 ~arm +LICENSE=Apache-2.0 +RESTRICT=strip +SLOT=0 +SRC_URI=https://github.com/kahing/goofys/archive/refs/tags/v0.24.0.tar.gz -> goofys-0.24.0.tar.gz +_eclasses_=golang-base 9f0e420ab37bc55a318d74bab3aae891 golang-vcs-snapshot 80659643e60eb07e6df6ff936b7d5f66 +_md5_=c8f94acfd085a5415ae76bde901d290b diff --git a/net-fs/goofys/Manifest b/net-fs/goofys/Manifest new file mode 100644 index 0000000..7016bc7 --- /dev/null +++ b/net-fs/goofys/Manifest @@ -0,0 +1,2 @@ +DIST goofys-0.24.0.tar.gz 323449 BLAKE2B 733db26b32705f8a1ed85f534210f3dedab4e13c05ac48bab057fe9273d6f2947cb763f481644d08e9657e63663ca66cf0e9ba872e252b075358e93d6a9d4638 SHA512 88defc1c10921941c7736009681700de29aeb64bfc09c548249b146edd0da6ba85a1177e47f46455b2a35c27f7eb2db45685f8722cf2ebddb9f70cd75c58dfc5 +EBUILD goofys-0.24.0.ebuild 671 BLAKE2B 2ba1f7716e2794368b775ce355a6477a3171cdc439bcd935650a9bec3cd4b29498fc4ee59f1695360afd4a0d520562c1c97636f23e7294b7768a1a0d449f098a SHA512 cc88bb4aabed92f7752ac54489f16064d7dfdd506b4523e15476344a677bc1d6ba8787f6530db66a313e2df5e297e77f10471e06fa8e4fb44b25669d07ca54c3 diff --git a/net-fs/goofys/goofys-0.24.0.ebuild b/net-fs/goofys/goofys-0.24.0.ebuild new file mode 100644 index 0000000..5529819 --- /dev/null +++ b/net-fs/goofys/goofys-0.24.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/kahing/goofys" + +inherit golang-vcs-snapshot + +DESCRIPTION="A high-performance, user-space file system for mounting Amazon S3 buckets" +HOMEPAGE="https://github.com/kahing/goofys" +SRC_URI="https://${EGO_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm64 ~arm" + +DEPEND="dev-lang/go" +RDEPEND="" + +S="${WORKDIR}/${P}" + +src_compile() { + GOPATH="${S}" emake -C src/github.com/kahing/goofys +} + +src_install() { + dobin src/github.com/kahing/goofys/goofys + dodoc README.md CHANGELOG.md +} +