# Copyright 1999-2012 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.2 2012/03/20 10:08:15 pacho Exp $ EAPI="2" inherit autotools DESCRIPTION="Filesystem for rdiff-backup'ed folders" HOMEPAGE="http://code.google.com/p/rdiff-backup-fs/" 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 }