--- chironfs-1.1.1.ebuild.orig 2009-10-23 21:46:00.026837773 +0200 +++ chironfs-1.1.1.ebuild 2009-10-23 21:45:34.267585904 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/chironfs/chironfs-1.1.1.ebuild,v 1.2 2009/06/24 07:42:53 dragonheart Exp $ +inherit eutils autotools + DESCRIPTION="Chiron FS - A FUSE based replication filesystem" SRC_URI="http://chironfs.googlecode.com/files/${P}.tar.gz" HOMEPAGE="http://www.furquim.org/chironfs/" @@ -12,6 +14,13 @@ IUSE="" DEPEND="sys-fs/fuse" +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/$P-as-needed.patch" + cd ${S} + eautoreconf +} + src_install() { emake DESTDIR="${D}" install || die 'install failure' mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${P}