You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-fs/fusesmb/fusesmb-0.8.7.ebuild

42 lines
1.0 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/fusesmb/fusesmb-0.8.7.ebuild,v 1.8 2010/04/07 16:04:54 patrick Exp $
EAPI=2
inherit eutils
DESCRIPTION="Instead of mounting one Samba share at a time, you mount all workgroups, hosts and shares at once."
HOMEPAGE="http://www.ricardis.tudelft.nl/~vincent/fusesmb/"
SRC_URI="http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
RDEPEND=">=sys-fs/fuse-2.3
|| ( >=net-fs/samba-3.4.6[smbclient]
<=net-fs/samba-3.3 )"
DEPEND="${RDEPEND}
sys-devel/libtool
sys-devel/make"
src_prepare() {
sed -i "s:\(FUSE_USE_VERSION.\)23:\122:" config* || die "sed failed"
}
src_install() {
make install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS ChangeLog README fusesmb.conf.ex
}
pkg_postinst() {
elog
elog "For quick usage, exec:"
elog "'modprobe fuse'"
elog "'fusesmb -oallow_other /mnt/samba'"
elog
}