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


                                                  
            




































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