# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/fusesmb/fusesmb-0.8.5.ebuild,v 1.2 2007/05/06 10:17:47 genone Exp $ inherit eutils DESCRIPTION="A Linux userspace file system driver for mounting WebDAV shares" HOMEPAGE="http://0pointer.de/lennart/projects/fusedav/" SRC_URI="${HOMEPAGE}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="lynx" RDEPEND=">=sys-fs/fuse-2.5 >=net-misc/neon-0.26 lynx? ( www-client/lynx )" DEPEND="${RDEPEND} virtual/libc sys-devel/libtool sys-devel/make" src_unpack() { unpack ${A} && cd ${S} epatch ${FILESDIR}/${P}.patch \ || die "Error: epatch failed!" sed -i "s:\(FUSE_USE_VERSION.\)23:\122:" config* || die "sed failed" } src_compile() { econf \ $(use_enable lynx) \ || die "Error: econf failed!" emake || die "Error: emake failed!" } src_install() { dobin src/${PN} dodoc LICENSE README dohtml doc/README.html doc/style.css } #pkg_postinst() { # elog # elog "For quick usage, exec:" # elog "'modprobe fuse'" # elog "'fusesmb -oallow_other /mnt/samba'" # elog #}