You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
660 B
29 lines
660 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit autotools
|
|
|
|
DESCRIPTION="A set of libraries for userspace access to RTAS on the PowerPC platform(s)"
|
|
HOMEPAGE="https://github.com/ibm-power-utilities/librtas"
|
|
SRC_URI="https://github.com/ibm-power-utilities/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0"
|
|
KEYWORDS="ppc ppc64"
|
|
IUSE="static-libs"
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf $(use_enable static-libs static)
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install docdir=/usr/share/doc/${PF}
|
|
find "${D}" -name '*.la' -delete || die
|
|
}
|