summaryrefslogtreecommitdiff
blob: 100705a56c553a5a2383e994e3ab02c4fd46b658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="The only backup program that doesn't make 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_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"
}