summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-07-08 13:36:59 -0400
committerMike Gilbert <floppym@gentoo.org>2017-07-08 13:40:53 -0400
commitee993ef105dac50eb743f9446217b8f9fa8178e0 (patch)
treeaad52201033ce50a3ff3ffa5fe0b0544cddacf7a /sys-fs/fuse/fuse-3.1.0.ebuild
parentnet-misc/sks: use ocamlfind for link and build. (diff)
downloadgentoo-ee993ef105dac50eb743f9446217b8f9fa8178e0.tar.gz
gentoo-ee993ef105dac50eb743f9446217b8f9fa8178e0.tar.bz2
gentoo-ee993ef105dac50eb743f9446217b8f9fa8178e0.zip
sys-fs/fuse: add slotted fuse3 ebuild
Package-Manager: Portage-2.3.6_p9, Repoman-2.3.2_p77
Diffstat (limited to 'sys-fs/fuse/fuse-3.1.0.ebuild')
-rw-r--r--sys-fs/fuse/fuse-3.1.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-fs/fuse/fuse-3.1.0.ebuild b/sys-fs/fuse/fuse-3.1.0.ebuild
new file mode 100644
index 00000000000..ac994543f9a
--- /dev/null
+++ b/sys-fs/fuse/fuse-3.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson multilib-minimal
+
+DESCRIPTION="An interface for filesystems implemented in userspace"
+HOMEPAGE="https://github.com/libfuse/libfuse"
+SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="3"
+#KEYWORDS="~amd64"
+RESTRICT="test"
+
+DOCS=( AUTHORS README.md doc/README.NFS doc/kernel.txt )
+
+src_prepare() {
+ default
+ # passthough_ll is broken on systems with 32-bit pointers
+ cat /dev/null > example/meson.build || die
+}
+
+multilib_src_configure() {
+ meson_src_configure
+}
+
+multilib_src_compile() {
+ eninja
+}
+
+multilib_src_install() {
+ DESTDIR="${D}" eninja install
+}
+
+multilib_src_install_all() {
+ default
+ rm "${ED%/}"/dev/fuse || die
+ rmdir "${ED%/}"/dev || die
+ rm "${ED%/}"/etc/init.d/fuse3 || die
+ rmdir "${ED%/}"/etc{/init.d,} || die
+ mv "${ED%/}"/usr/share/man/man8/mount.fuse{,3}.8.gz || die
+}