diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2019-12-09 21:00:27 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2019-12-09 21:00:27 +0100 |
commit | 78440e9f92e34f0c4735e0e6f9b711eed915255a (patch) | |
tree | 454fdd3fa54adcb71727edc3c1715fb721089b23 /sys-fs | |
parent | net-vpn/openconnect: remove old (diff) | |
download | gentoo-78440e9f92e34f0c4735e0e6f9b711eed915255a.tar.gz gentoo-78440e9f92e34f0c4735e0e6f9b711eed915255a.tar.bz2 gentoo-78440e9f92e34f0c4735e0e6f9b711eed915255a.zip |
sys-fs/mergerfs-2.28.3: added.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mergerfs/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.28.3.ebuild | 42 | ||||
-rw-r--r-- | sys-fs/mergerfs/metadata.xml | 11 |
3 files changed, 54 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest new file mode 100644 index 000000000000..49068f2d9336 --- /dev/null +++ b/sys-fs/mergerfs/Manifest @@ -0,0 +1 @@ +DIST mergerfs-2.28.3.tar.gz 294065 BLAKE2B 2e59e00726aec53438d5a5df143ca204069794d68c663a130139102a19e118a54fede1c8eca99199a3e634ffa92cb21c25c30718ea0842826de8a64e876b2819 SHA512 5469b3515464680aa72fc393c218fb038bed31194a933e6736eec478d87a110979323308b642d7f100a5c506534ca75badf4a87a050007cdc77cd2a641217929 diff --git a/sys-fs/mergerfs/mergerfs-2.28.3.ebuild b/sys-fs/mergerfs/mergerfs-2.28.3.ebuild new file mode 100644 index 000000000000..dbf35a85d899 --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.28.3.ebuild @@ -0,0 +1,42 @@ +# 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="" + +RDEPEND=" + sys-apps/attr + sys-apps/util-linux + sys-devel/gettext +" + +DEPEND="${RDEPEND}" + +src_prepare() { + default + + # drop -O2 from those handmade Makefiles. + sed -r '/^OPTS[ \t]*=/d' -i Makefile + + # Hand made build system at it's finest. + echo -e "#!/bin/sh\ntrue" >tools/update-version + echo "#pragma once" >src/version.hpp + echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp +} + +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> |