# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/bindfs/bindfs-1.12.2.ebuild,v 1.2 2013/10/01 22:01:09 sping Exp $ EAPI=5 inherit eutils autotools DESCRIPTION="FUSE filesystem for mounting a directory to another location and altering permissions" HOMEPAGE="http://bindfs.org/" SRC_URI="http://bindfs.org/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND="sys-fs/fuse" DEPEND="${RDEPEND} virtual/pkgconfig" RESTRICT="test" src_prepare() { epatch "${FILESDIR}"/${PN}-1.10.7-cflags.patch epatch "${FILESDIR}"/${PN}-1.12.2-ac-config-headers.patch eautoreconf } src_configure() { econf $(use_enable debug) }