summaryrefslogtreecommitdiff
blob: 012d90e5fed464b4995c42d8fe2300ea21d71795 (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
33
34
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/vzdump/vzdump-1.2.ebuild,v 1.2 2009/12/16 20:09:18 bangert Exp $

EAPI="2"

DESCRIPTION="A utility to make consistent snapshots of running OpenVZ containers."
HOMEPAGE="http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/vzdump/"
SRC_URI="http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND="dev-lang/perl
	dev-perl/LockFile-Simple
	virtual/perl-Getopt-Long
	sys-cluster/vzctl
	net-misc/rsync
	app-misc/cstream
	virtual/mta
	sys-fs/lvm2"

src_compile() {
	:;
}

src_install() {
	local installvendorlib
	eval "$(perl -V:installvendorlib )"
	make PERLLIBDIR="${installvendorlib}/PVE" DESTDIR="${D}" install || die "make install failed"
	dodoc ChangeLog TODO
}