# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 inherit eutils autotools DESCRIPTION="FUSE filesystem for SMB shares" HOMEPAGE="http://ametros.net/code.html#usmb" SRC_URI="http://ametros.net/downloads/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND=">=sys-fs/fuse-2.6 >=net-fs/samba-3.0[smbclient] >=dev-libs/glib-2.6 dev-libs/libxml2" DEPEND="${RDEPEND} virtual/pkgconfig sys-devel/make sys-apps/sed" # directory in tarball is not versionned S="${WORKDIR}/${PN}" src_prepare() { epatch "${FILESDIR}"/${P}-mandir.patch # shipped tarball ommits configure script, so we have to run autoconf and # autoheader before it will configure. eautoreconf } src_configure() { econf } src_install() { emake install DESTDIR="${D}" || die "make install failed" dodoc README INSTALL usmb.conf }