From 83393e10eb5fcfefb92ff758db41b36004ad9bf1 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 14 Jun 2019 20:27:38 +0000 Subject: user/opal-utils: new package --- user/opal-utils/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/opal-utils/APKBUILD (limited to 'user/opal-utils/APKBUILD') diff --git a/user/opal-utils/APKBUILD b/user/opal-utils/APKBUILD new file mode 100644 index 000000000..d6eddcd70 --- /dev/null +++ b/user/opal-utils/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=opal-utils +pkgver=6.3.1 +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="ad2156d864cedcf3d19e8ff094d12059703aaf9a5ea8403e230ecf33d331dae45e0f28a89c65ad05f94605e493bc8d42df92698847600810d5609bc56ade24b8 skiboot-6.3.1.tar.gz +e7480f16b6eb41fd65b40ea1f20031118030f24681b7b8afcfdebb8cde7625e45902683cfb5fe0af3259060fb1b92b9c2f5d62354de356e7706a7f08ad9f772e musl.patch +944dd564a2c846a675544c8ecdb2fa4714235f3fd974e135a71220379640f94883811399fe03d2d697fcb49e219504af264af0f201a6a7b37029687dea6a28cf opal-prd.patch" -- cgit v1.2.3-70-g09d2