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

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A tool to list content of virtual tables in a shared library"
HOMEPAGE="https://github.com/lvc/vtable-dumper"
SRC_URI="https://github.com/lvc/vtable-dumper/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

DEPEND="dev-libs/elfutils:="
RDEPEND="${DEPEND}"

src_configure() {
	tc-export CC
}

src_install() {
	emake prefix="${ED}"/usr install
	einstalldocs
}