diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2021-02-10 00:33:18 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2021-02-10 00:34:49 +0100 |
commit | 81fb614503b6ecd4b25280ceaf1c1357c6e5c0c9 (patch) | |
tree | 41b23d853ff9a2a10bcedd34b25d0db9a671bb68 /sys-fs/mergerfs/mergerfs-2.32.3.ebuild | |
parent | sys-fs/mergerfs: drop old. (diff) | |
download | gentoo-81fb614503b6ecd4b25280ceaf1c1357c6e5c0c9.tar.gz gentoo-81fb614503b6ecd4b25280ceaf1c1357c6e5c0c9.tar.bz2 gentoo-81fb614503b6ecd4b25280ceaf1c1357c6e5c0c9.zip |
sys-fs/mergerfs: 2.32.3 bump
Closes: https://bugs.gentoo.org/769356
Closes: https://github.com/trapexit/mergerfs/issues/877
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs/mergerfs/mergerfs-2.32.3.ebuild')
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.32.3.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/mergerfs-2.32.3.ebuild b/sys-fs/mergerfs/mergerfs-2.32.3.ebuild new file mode 100644 index 000000000000..5d1e3ec0e4cf --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.32.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +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 + + # 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_compile() { + # https://bugs.gentoo.org/725978 + tc-export AR + + default +} + +src_install() { + dobin build/mergerfs + dosym mergerfs /usr/bin/mount.mergerfs + dodoc README.md + doman man/mergerfs.1 +} |