summaryrefslogtreecommitdiff
blob: 057b94aaeec959e3f43bc052d429798af39ae3b8 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion

ESVN_REPO_URI="https://faracvs.cs.uni-magdeburg.de/svn/christsc/darbackup/darbackup/branches/0.7-stable"

DESCRIPTION="a wrapper script for creating backups using dar"
HOMEPAGE="https://faracvs.cs.uni-magdeburg.de/projects/christsc-darbackup/"
SRC_URI=""
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
RDEPEND=">=app-backup/dar-2.2.6
	|| ( dev-util/bdelta dev-util/xdelta )
	net-misc/openssh"
DEPEND=">=app-shells/bash-3.0"

src_install() {
	dobin darbackup
	doman darbackup.1
}

pkg_setup() {
	if ! built_with_use dar dar32 && ! built_with_use dar dar64; then
		die 'You dont have neither dar32 nor dar64 set as USE. Please
		correct it according to your arch.'
	fi
}