summaryrefslogtreecommitdiff
path: root/user/powerpc-utils/APKBUILD
blob: c16fd2d05daf2f49a169b904d08f326692f1f8dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=powerpc-utils
pkgver=1.3.6
pkgrel=0
pkgdesc="Maintenance utilities for PowerPC computers"
url="https://github.com/ibm-power-utilities/powerpc-utils"
arch="ppc ppc64 ppc64le"
options="!check"  # No test suite.
license="GPL-2.0+"
depends="bash bc"
makedepends="autoconf automake zlib-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ibm-power-utilities/$pkgname/archive/v$pkgver.tar.gz"

build() {
	./autogen.sh
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--without-librtas
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a30516ccdfe19a198cd5c1a7ad3646d15b599fb40f772cbc7ac95c6d3b364575a3ebb16708022886ba3bcd3184070a3f4d72b649427879fcdd2655406470e977  powerpc-utils-1.3.6.tar.gz"