summaryrefslogblamecommitdiff
path: root/user/opal-utils/APKBUILD
blob: 94e1d0b8978a451ccad15c3fb34d09f15c729c11 (plain) (tree)
1
2
3
4


                                                  
            




































                                                                                             
                                                                                                                                                                  
                                                                                                                                            
                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=opal-utils
pkgver=6.6.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="a864e4120ffac4065b89d5da7c959ac20643be42e83f4186a778355f3ea0b36cbd1e02c91b1460b6fa6550fceec9034cce096b89f840b4051d65c7f0ab70dc27  skiboot-6.6.2.tar.gz
e7480f16b6eb41fd65b40ea1f20031118030f24681b7b8afcfdebb8cde7625e45902683cfb5fe0af3259060fb1b92b9c2f5d62354de356e7706a7f08ad9f772e  musl.patch
692206f60727041c070c7f75eb66325607d00261e8dd7f47111fd59c7495c744ac356b0c94c6139c76bacbe403f1e9e6819f8bce2d13ac10d1cacc6e351cc25e  opal-prd.patch"