summaryrefslogtreecommitdiff
path: root/user/powerpc-utils/APKBUILD
blob: 878466c74ed54c004040857f4d80bcedf87fe562 (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
31
32
33
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=powerpc-utils
pkgver=1.3.5
pkgrel=0
pkgdesc="Maintenance utilities for PowerPC computers"
url="https://github.com/nfont/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/nfont/$pkgname/archive/v$pkgver.tar.gz"

build() {
	cd "$builddir"

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

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

sha512sums="a01f8fc45abd91d0629f8f48e3c2877a863aa1f244907bb65fcc457c2c933e7043181666c237956723f956b7c3d7ce7a0cedc36eaf26ce3cf777aa8f0525244d  powerpc-utils-1.3.5.tar.gz"