summaryrefslogtreecommitdiff
blob: a3a5ce0ebf7c68c1ca0fd29af79e8b8632a45167 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils subversion

ESVN_REPO_URI="https://faracvs.cs.uni-magdeburg.de/svn/christsc/${PN}/${PN}/branches/${PV}"

DESCRIPTION="a wrapper script for creating backups using dar"
HOMEPAGE="https://faracvs.cs.uni-magdeburg.de/projects/christsc-darbackup/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="dar64"

RDEPEND="!dar64? ( app-backup/dar[dar32] )
	dar64? ( app-backup/dar[dar64] )
	|| ( dev-util/bdelta dev-util/xdelta )
	net-misc/openssh"

pkg_setup() {
	enewgroup backup
}

src_install() {
	dobin darbackup || die "dobin failed"
	doman darbackup.1 || die "doman failed"
}