1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils
7 DESCRIPTION="rdup is a utility inspired by rsync and the plan9 way of doing backups."
8 HOMEPAGE="http://www.miek.nl/projects/rdup"
9 SRC_URI="http://www.miek.nl/projects/${PN}/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="path-encryption"
16 DEPEND="app-arch/libarchive
19 path-encryption? ( dev-libs/nettle )"
25 epatch "${FILESDIR}/${P}-configure-ac.patch"
31 econf $(use_with path-encryption nettle )
33 emake || die "emake failed"
37 emake DESTDIR="${D}" install || die "emake install failed"
39 dosym ../lib/rdup/rdup-simple.sh /usr/bin/rdup-simple || die "dosym failed"
41 dodoc AUTHORS ChangeLog DESIGN README || die "dodoc failed"