sys-fs/lufis: Use proper fuse slot
authorPacho Ramos <pacho@gentoo.org>
Sat, 12 Jan 2019 10:11:57 +0000 (11:11 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 12 Jan 2019 10:11:57 +0000 (11:11 +0100)
Closes: https://bugs.gentoo.org/673646
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
sys-fs/lufis/lufis-0.3-r1.ebuild [new file with mode: 0644]

diff --git a/sys-fs/lufis/lufis-0.3-r1.ebuild b/sys-fs/lufis/lufis-0.3-r1.ebuild
new file mode 100644 (file)
index 0000000..5f2f264
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Wrapper to use lufs modules with fuse kernel support"
+HOMEPAGE="http://fuse.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+       !<sys-fs/lufs-0.9.7-r3
+       >=sys-fs/fuse-1.3:0=
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/lufis-allow-uid-and-gid-addon.patch
+)
+
+src_compile() {
+       emake CC="$(tc-getCC)"
+}
+
+src_install() {
+       dobin lufis
+       einstalldocs
+
+       insinto /usr/include/lufs/
+       doins fs.h proto.h
+}