summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-01-20 19:46:06 -0600
committerMike Frysinger <vapier@gentoo.org>2017-01-20 19:53:52 -0600
commit9fc147e9903a3a2c72f1ca32807ca321a438dab9 (patch)
treee1af96a2111c34678485cc7ba27d61961d6e5e4e /sys-fs/lufis/lufis-0.3.ebuild
parentapp-text/dvibook: update to EAPI=6 (diff)
downloadgentoo-9fc147e9903a3a2c72f1ca32807ca321a438dab9.tar.gz
gentoo-9fc147e9903a3a2c72f1ca32807ca321a438dab9.tar.bz2
gentoo-9fc147e9903a3a2c72f1ca32807ca321a438dab9.zip
sys-fs/lufis: update to EAPI=6
Diffstat (limited to 'sys-fs/lufis/lufis-0.3.ebuild')
-rw-r--r--sys-fs/lufis/lufis-0.3.ebuild32
1 files changed, 18 insertions, 14 deletions
diff --git a/sys-fs/lufis/lufis-0.3.ebuild b/sys-fs/lufis/lufis-0.3.ebuild
index e23a80631842..d94121f1322a 100644
--- a/sys-fs/lufis/lufis-0.3.ebuild
+++ b/sys-fs/lufis/lufis-0.3.ebuild
@@ -1,30 +1,34 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
-inherit eutils
+EAPI="6"
+
+inherit toolchain-funcs
DESCRIPTION="Wrapper to use lufs modules with fuse kernel support"
-SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz"
HOMEPAGE="http://fuse.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz"
+
LICENSE="GPL-2"
-DEPEND="!<sys-fs/lufs-0.9.7-r3
- >=sys-fs/fuse-1.3"
-KEYWORDS="x86 ppc ~amd64"
SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/lufis-allow-uid-and-gid-addon.patch
+DEPEND="!<sys-fs/lufs-0.9.7-r3
+ >=sys-fs/fuse-1.3"
+
+PATCHES=(
+ "${FILESDIR}"/lufis-allow-uid-and-gid-addon.patch
+)
+
+src_compile() {
+ emake CC="$(tc-getCC)"
}
src_install() {
dobin lufis
- dodoc README COPYING ChangeLog
+ dodoc README ChangeLog
insinto /usr/include/lufs/
- doins fs.h
- doins proto.h
+ doins fs.h proto.h
}