app-arch/fuse-archive: init

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2023-05-18 20:05:03 +06:00
parent ca583cd8db
commit 32b6dba1e2
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST fuse-archive-0.1.14.tar.gz 59066 BLAKE2B f60a9d5c2f722ba1a8a9f853bb268923d16957137dcb503c4b8499415c98ce4f3c55e2db2d77d11e98ecf7539aaaf6851d44499303ec5f286b95cfe0e293b433 SHA512 03bdb9d360e3677dc10e2728919c3c6cdd712487d768db4cd2ccf9f1b7e725828119132bf539f08e54d0fc9df9fa534e4b374a626c4bd1f4ca519e46e90a6a8b

View File

@@ -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

View File

@@ -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>