--- archfs-0.5.1.ebuild 2007-10-14 12:06:05.000000000 +0200 +++ archfs-0.5.4.ebuild 2010-01-04 20:14:37.000000000 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/archfs/archfs-0.5.1.ebuild,v 1.2 2007/10/14 09:39:26 jokey Exp $ +inherit eutils + DESCRIPTION="Filesystem for rdiff-backup'ed folders" HOMEPAGE="http://code.google.com/p/archfs" SRC_URI="http://archfs.googlecode.com/files/${P}.tar.gz" @@ -15,7 +17,12 @@ RDEPEND="${DEPEND} app-backup/rdiff-backup" -S=${WORKDIR}/${PN} +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/fix_compile.patch" + epatch "${FILESDIR}/archfs_tmpdir.patch" +} src_install() { emake DESTDIR=${D} install || die "emake install failed"