# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/glusterfs/glusterfs-1.3.0_pre2.ebuild,v 1.10 2006/07/28 06:47:00 genstef Exp $ inherit eutils DESCRIPTION="GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file system in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in userspace and easily manageable." SRC_URI="http://ftp.zresearch.com/pub/gluster/${PN}/1.3-pre/glusterfs-1.3.0-pre2.3.tar.gz" HOMEPAGE="http://gluster.org/glusterfs.php" LICENSE="GPL-2" DEPEND=">=sys-fs/fuse-2.6.3" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" SLOT="0" IUSE=" client server infiniband" src_unpack() { unpack ${A} } src_compile() { cd ${WORKDIR}/glusterfs-1.3.0-pre2.3/ if [ -x ./configure ]; then econf \ --localstatedir=/var \ $(use_enable client fuse-client) \ $(use_enable server server) \ $(use_enable infiniband ibverbs) \ || die "Configure failed!" fi if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then emake || die "emake failed" fi } src_install() { emake DESTDIR="${D}" install || die "Install failed" dodoc AUTHORS NEWS README ChangeLog }