blob: c9bc28227096dee5d4da349943c3c1e75e000a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/smbnetfs/smbnetfs-0.5.3.ebuild,v 1.1 2010/09/02 18:37:38 slyfox Exp $
EAPI=2
inherit eutils autotools
DESCRIPTION="FUSE filesystem for SMB shares"
HOMEPAGE="http://sourceforge.net/projects/smbnetfs"
SRC_URI="mirror://sourceforge/smbnetfs/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="gnome"
RDEPEND=">=sys-fs/fuse-2.3
>=net-fs/samba-3.2[smbclient]
gnome? ( gnome-base/gnome-keyring )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/make"
src_prepare() {
epatch "${FILESDIR}/smbnetfs-0.5.3-0001-configure.in-allow-user-to-explicitly-enable-disable.patch"
eautoreconf
}
src_configure() {
econf $(use_with gnome gnome-keyring) || die "econf failed"
}
src_install() {
emake install DESTDIR="${D}" || die "make install failed"
dodoc AUTHORS ChangeLog
}
pkg_postinst() {
elog
elog "For quick usage, exec:"
elog "'modprobe fuse'"
elog "'smbnetfs -oallow_other /mnt/samba'"
elog
}
|