aboutsummaryrefslogtreecommitdiffstats
path: root/main/powerpc-utils/APKBUILD
blob: 40f2956e07f15d3be399ec06f6b19711ec04bc8d (plain)
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
34
35
36
37
38
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=powerpc-utils
pkgver=1.3.6
pkgrel=0
pkgdesc="Maintenance utilities for PowerPC platforms"
url="https://github.com/nfont/powerpc-utils"
arch="ppc ppc64 ppc64le"
options="!check"  # No test suite.
license="GPL-2.0+"
makedepends="autoconf automake zlib-dev"
depends="bash bc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nfont/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	./autogen.sh
}

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

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

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