aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-05-18 20:05:03 +0600
committerNRK <nrk@disroot.org>2023-05-18 20:09:57 +0600
commit32b6dba1e28039b14284bb10dfbe6c9ea04ae811 (patch)
treeda375f902b9a72f828b13a43c85bd0841a32c4b7 /app-arch
parentdev-libs/open62541: drop 1.3.5 (diff)
downloadguru-32b6dba1e28039b14284bb10dfbe6c9ea04ae811.tar.gz
guru-32b6dba1e28039b14284bb10dfbe6c9ea04ae811.tar.bz2
guru-32b6dba1e28039b14284bb10dfbe6c9ea04ae811.zip
app-arch/fuse-archive: init
Signed-off-by: NRK <nrk@disroot.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/fuse-archive/Manifest1
-rw-r--r--app-arch/fuse-archive/fuse-archive-0.1.14.ebuild37
-rw-r--r--app-arch/fuse-archive/metadata.xml10
3 files changed, 48 insertions, 0 deletions
diff --git a/app-arch/fuse-archive/Manifest b/app-arch/fuse-archive/Manifest
new file mode 100644
index 000000000..cb1ac3921
--- /dev/null
+++ b/app-arch/fuse-archive/Manifest
@@ -0,0 +1 @@
+DIST fuse-archive-0.1.14.tar.gz 59066 BLAKE2B f60a9d5c2f722ba1a8a9f853bb268923d16957137dcb503c4b8499415c98ce4f3c55e2db2d77d11e98ecf7539aaaf6851d44499303ec5f286b95cfe0e293b433 SHA512 03bdb9d360e3677dc10e2728919c3c6cdd712487d768db4cd2ccf9f1b7e725828119132bf539f08e54d0fc9df9fa534e4b374a626c4bd1f4ca519e46e90a6a8b
diff --git a/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
new file mode 100644
index 000000000..a57506a3e
--- /dev/null
+++ b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Read-only FUSE file system for mounting archives and compressed files"
+HOMEPAGE="https://github.com/google/fuse-archive"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/google/fuse-archive.git"
+else
+ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ sys-fs/fuse:0
+ app-arch/libarchive
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+ dobin out/fuse-archive
+}
+
+# TODO(NRK): enable tests
diff --git a/app-arch/fuse-archive/metadata.xml b/app-arch/fuse-archive/metadata.xml
new file mode 100644
index 000000000..64ed95d08
--- /dev/null
+++ b/app-arch/fuse-archive/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">google/fuse-archive</remote-id>
+ </upstream>
+</pkgmetadata>