# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/archfs/archfs-0.5.6b.ebuild,v 1.1 2010/02/25 19:46:32 jer Exp $ EAPI="2" inherit autotools DESCRIPTION="Filesystem for rdiff-backup'ed folders" HOMEPAGE="http://code.google.com/p/archfs" SRC_URI="http://archfs.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="sys-fs/fuse" RDEPEND="${DEPEND} app-backup/rdiff-backup" S="${WORKDIR}/${P/b}" src_prepare() { sed -i configure.ac \ -e 's|-Wall -O3|-Wall|g' \ -e 's| -lfuse||g' \ -e 's|CFLAGS|INCLUDES|g' \ -e 's|LDFLAGS|LIBS|g' \ || die "sed failed" eautoreconf } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS }