1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-0.6.9-r1.ebuild,v 1.4 2010/08/10 10:31:00 ssuominen Exp $
6 inherit bash-completion
8 DESCRIPTION="An implementation of the ZFS filesystem for FUSE/Linux"
9 HOMEPAGE="http://zfs-fuse.net/"
10 SRC_URI="http://zfs-fuse.net/releases/${PV}/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND="dev-libs/libaio
30 -e '/LINKFLAGS/s:-s::' \
31 -e '/CCFLAGS/s:-s -O2::' \
35 -e 's:../zdb/zdb:/usr/sbin/zdb:' \
36 cmd/ztest/ztest.c || die
43 scons debug=${_debug} || die
48 install_dir="${D}/usr/sbin" \
49 man_dir="${D}/usr/share/man/man8" \
50 cfg_dir="${D}/etc/zfs" \
54 doins ../contrib/zfsrc || die
56 keepdir /var/{lock,run}/zfs
57 fowners root.disk /var/{lock,run}/zfs
59 doinitd "${FILESDIR}"/${PN}
61 dodoc ../{BUGS,CHANGES,HACKING,README*,STATUS,TESTING,TODO}
63 dobashcompletion ../contrib/zfs_completion.bash ${PN}