blob: ca53134a2d6b43fd3485c02698ad40b30f835d7c [file] [log] [blame]
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/beaglefs/beaglefs-1.0.3.ebuild,v 1.3 2008/07/25 07:43:32 ford_prefect Exp $
inherit eutils
DESCRIPTION="beaglefs implements a filesystem representing a live Beagle query."
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/rml/fuse/beaglefs/"
SRC_URI="http://www.kernel.org/pub/linux/kernel/people/rml/fuse/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=app-misc/beagle-0.2
>=sys-fs/fuse-2.5"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
if has_version dev-libs/libbeagle; then
epatch "${FILESDIR}/${P}-libbeagle-0.3.patch"
fi
}
src_compile() {
emake || die "make failed"
}
src_install() {
dobin beaglefs
dodoc README
}
pkg_postinst() {
einfo
einfo "Please read README in /usr/share/doc/${P}"
einfo "to learn how to work with beaglefs"
einfo
}