summaryrefslogtreecommitdiff
path: root/sys-block/vdo/vdo-8.3.2.1.ebuild
blob: c5dfa65a00cd5c1b96ce78a4e336cede914f1c0a (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
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Userspace tools for managing VDO volumes."
HOMEPAGE="https://github.com/dm-vdo/vdo"
SRC_URI="https://github.com/dm-vdo/vdo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

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

# libdevmapper.h & more
DEPEND="
	sys-fs/lvm2
	sys-apps/util-linux
"
RDEPEND="
	${DEPEND}
	virtual/libudev:=
"
BDEPEND="
	virtual/pkgconfig
"

src_install() {
	emake install \
		DESTDIR="${D}" \
		bindir=/usr/bin \
		mandir=/usr/share/man
	mv "${D}"/usr/share/doc/{vdo,"${P}"}
}