summaryrefslogtreecommitdiff
blob: 1e614801323d65154180cced5e4afdad6710d9b3 (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 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Utility to List Device Vital Product Data (VPD)"
HOMEPAGE="https://github.com/power-ras/lsvpd"
SRC_URI="https://github.com/power-ras/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="ppc64"
IUSE=""

RDEPEND="
	dev-db/sqlite:3
	sys-apps/hwdata
	sys-apps/sg3_utils:0=
	sys-libs/librtas
	>=sys-libs/libvpd-2.2.9:=
	sys-libs/zlib
"

DEPEND="${RDEPEND}
	virtual/os-headers
"

BDEPEND=""

PATCHES=( "${FILESDIR}/lsvpd-1.7.14-bashisms.patch" )

src_prepare() {
	default
	eautoreconf
}