# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 AUTOTOOLS_IN_SOURCE_BUILD=1 AUTOTOOLS_AUTORECONF=1 EGIT_REPO_URI="git://repo.or.cz/usmb.git" inherit autotools-utils git-2 DESCRIPTION="FUSE filesystem for SMB shares" HOMEPAGE="http://ametros.net/code.html#usmb" SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="" RDEPEND=">=sys-fs/fuse-2.6 >=net-fs/samba-3.0.24[smbclient] >=dev-libs/glib-2.6 dev-libs/libxml2" DEPEND="${RDEPEND} virtual/pkgconfig" DOCS=( INSTALL README usmb.conf ) src_prepare() { # Fix mandir path wrt bug #442110, remove '-Werror' from CFLAGS sed -i \ -e '/^mandir/s/@mandir@/$(DESTDIR)@mandir@/' \ -e 's/-Werror//' \ Makefile.in || die 'sed on Makefile.in failed' autotools-utils_src_prepare }