blob: 7bdcc55970472dc6c660af949c89655e9bc9ad81 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=opal-utils
pkgver=6.5.2
pkgrel=0
pkgdesc="Tools for IBM FSP and OpenPOWER systems"
url="https://lists.ozlabs.org/listinfo/skiboot"
arch="ppc64"
license="Apache-2.0"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="skiboot-$pkgver.tar.gz::https://github.com/open-power/skiboot/archive/v$pkgver.tar.gz
musl.patch
opal-prd.patch
"
builddir="$srcdir/skiboot-$pkgver"
_tools="opal-prd gard"
build() {
for _tool in $_tools; do
cd "$builddir"/external/$_tool
make
done
}
check() {
for _tool in $_tools; do
cd "$builddir"/external/$_tool
make test
done
}
package() {
for _tool in $_tools; do
cd "$builddir"/external/$_tool
make DESTDIR="$pkgdir" prefix="/usr" install
done
}
sha512sums="765e568ad60f5cd7df8868eb3faea841d37c75cb14f33ab30f9419550ea146aeec0d02d622752af1e09a36e744f93be3a56fe6cbc8ac91a94effba9754a24091 skiboot-6.5.2.tar.gz
e7480f16b6eb41fd65b40ea1f20031118030f24681b7b8afcfdebb8cde7625e45902683cfb5fe0af3259060fb1b92b9c2f5d62354de356e7706a7f08ad9f772e musl.patch
692206f60727041c070c7f75eb66325607d00261e8dd7f47111fd59c7495c744ac356b0c94c6139c76bacbe403f1e9e6819f8bce2d13ac10d1cacc6e351cc25e opal-prd.patch"
|