--- /dev/null
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/sg3_utils
+ sys-libs/librtas
+ sys-libs/libvpd
+ sys-libs/zlib
+"
+
+DEPEND="${RDEPEND}
+ virtual/os-headers
+"
+
+BDEPEND=""
+
+src_prepare() {
+ default
+ eautoreconf
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <longdescription>
+ The lsvpd package contains all of the lsvpd, lscfg and lsmcode commands.
+ These commands, along with a scanning program called vpdupdate, constitute
+ a hardware inventory system. The lsvpd command provides Vital Product Data
+ (VPD) about hardware components to higher-level serviceability tools. The
+ lscfg command provides a more human-readable format of the VPD, as well as
+ some system-specific information. lsmcode lists microcode and firmware
+ levels. lsvio lists virtual devices.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">power-ras/lsvpd</remote-id>
+ </upstream>
+</pkgmetadata>