summaryrefslogtreecommitdiff
blob: 24171295d3e1aa3552ee55df427a488ee8dcebbf (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
35
36
37
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit perl-functions

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

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

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

PATCHES=(
	"${FILESDIR}"/${PN}-1.2-no-compress.patch
)

src_compile() {
	return
}

src_install() {
	emake PERLLIBDIR="$(perl_get_vendorlib)/PVE" DESTDIR="${D}" install
	einstalldocs
}