summaryrefslogtreecommitdiff
path: root/user/opal-utils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-14 20:27:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-14 20:27:50 +0000
commit83393e10eb5fcfefb92ff758db41b36004ad9bf1 (patch)
treef3bbb16007e8dc66012de273af695aa66ffe93ed /user/opal-utils/APKBUILD
parent7f71b4f810faa662e95556aba5ddf03e495faa6e (diff)
downloadpackages-83393e10eb5fcfefb92ff758db41b36004ad9bf1.tar.gz
packages-83393e10eb5fcfefb92ff758db41b36004ad9bf1.tar.bz2
packages-83393e10eb5fcfefb92ff758db41b36004ad9bf1.tar.xz
packages-83393e10eb5fcfefb92ff758db41b36004ad9bf1.zip
user/opal-utils: new package
Diffstat (limited to 'user/opal-utils/APKBUILD')
-rw-r--r--user/opal-utils/APKBUILD44
1 files changed, 44 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"