diff options
Diffstat (limited to 'sys-fs/mergerfs')
-rw-r--r-- | sys-fs/mergerfs/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild | 46 | ||||
-rw-r--r-- | sys-fs/mergerfs/metadata.xml | 11 |
3 files changed, 60 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest new file mode 100644 index 000000000000..a96fc0f20ff0 --- /dev/null +++ b/sys-fs/mergerfs/Manifest @@ -0,0 +1,3 @@ +DIST mergerfs-2.28.3.tar.gz 294065 BLAKE2B 2e59e00726aec53438d5a5df143ca204069794d68c663a130139102a19e118a54fede1c8eca99199a3e634ffa92cb21c25c30718ea0842826de8a64e876b2819 SHA512 5469b3515464680aa72fc393c218fb038bed31194a933e6736eec478d87a110979323308b642d7f100a5c506534ca75badf4a87a050007cdc77cd2a641217929 +EBUILD mergerfs-2.28.3-r1.ebuild 1052 BLAKE2B e465ed82a76b54500683b111e57e2d4072541e12e7a4e2ccfcaea8d816f93cf5a3f0abb7db5b44ad74e5834c96ea58cd65daab22ac8c96ec3ab418fb0df1ea26 SHA512 fbdeb503a490665295a0b5202a5caaf1e802abb3139eec4ed925432161ed69ca973a38e47a970e13bea751bc88ba947e4b610b9c07a1cc7fc5a338e752931a14 +MISC metadata.xml 334 BLAKE2B e0f154866ccf08a8534567e5848aa41a0413a31cbd0fc92af2b873e77da2b007c222ab7431a81513e12f3cacd5e8bf8deb8a426e4cee2a64c8d02d0d9b56e4c2 SHA512 8b30ddda63065e140e02f4d3e79d933f46fd9460d2acc5b70e453f82eb6b5c204c810aa0019d183b256fcbde18239efbf01fccc40c5a1ddb632183418a596496 diff --git a/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild new file mode 100644 index 000000000000..00bac72e756f --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A featureful union filesystem" +HOMEPAGE="https://github.com/trapexit/mergerfs" + +SRC_URI="https://github.com/trapexit/mergerfs/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +# Vendorized libfuse that's bundled is under LGPL-2.1. +LICENSE="ISC LGPL-2.1" +SLOT="0" +IUSE="+xattr" + +DEPEND=" + xattr? ( sys-apps/attr ) +" + +RDEPEND="${DEPEND}" + +BDEPEND="sys-devel/gettext" + +src_prepare() { + default + + # drop -O2 from those handmade Makefiles. + sed -r '/^OPTS[ \t]*=/d' -i Makefile || die + + # Hand made build system at it's finest. + echo -e "#!/bin/sh\ntrue" >tools/update-version || die + echo "#pragma once" >src/version.hpp || die + echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp || die + + if ! use xattr; then + sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i Makefile || die + fi +} + +src_install() { + dobin build/mergerfs + dosym mergerfs /usr/bin/mount.mergerfs + dodoc README.md + doman man/mergerfs.1 +} diff --git a/sys-fs/mergerfs/metadata.xml b/sys-fs/mergerfs/metadata.xml new file mode 100644 index 000000000000..964e6eaa3390 --- /dev/null +++ b/sys-fs/mergerfs/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>slashbeast@gentoo.org</email> + <name>Piotr Karbowski</name> + </maintainer> + <upstream> + <remote-id type="github">trapexit/mergerfs</remote-id> + </upstream> +</pkgmetadata> |