diff options
Diffstat (limited to 'app-backup/rdup/rdup-0.9.0.ebuild')
-rw-r--r-- | app-backup/rdup/rdup-0.9.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-backup/rdup/rdup-0.9.0.ebuild b/app-backup/rdup/rdup-0.9.0.ebuild new file mode 100644 index 000000000..0d0f264e8 --- /dev/null +++ b/app-backup/rdup/rdup-0.9.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools eutils + +DESCRIPTION="rdup is a utility inspired by rsync and the plan9 way of doing backups." +HOMEPAGE="http://www.miek.nl/projects/rdup" +SRC_URI="http://www.miek.nl/projects/${PN}/${P}.tar.bz2" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="path-encryption" + +DEPEND="app-arch/libarchive + dev-libs/glib + dev-libs/libpcre + path-encryption? ( dev-libs/nettle )" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-configure-ac.patch" + + eautoreconf +} + +src_compile() { + econf $(use_with path-encryption nettle ) + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dosym ../lib/rdup/rdup-simple.sh /usr/bin/rdup-simple || die "dosym failed" + + dodoc AUTHORS ChangeLog DESIGN README || die "dodoc failed" +} |