aboutsummaryrefslogtreecommitdiffstats
path: root/main/powerpc-utils/APKBUILD
blob: 2fd02cd88d82396ee5cf054e3561dcb5a888b15c (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
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=powerpc-utils
pkgver=1.3.3
pkgrel=1
pkgdesc="Utilities which are intended for maintenance of powerpc platforms"
url="https://github.com/nfont/powerpc-utils"
arch="ppc64le"
license="GPL"
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"

build() {
	cd "$builddir"

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

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

md5sums="26c80f0d0ec886efa1530233f178463e  powerpc-utils-1.3.3.tar.gz"
sha256sums="2a3f4e7ef219d4de642c7da100d7d6511e93556778c0814b2ebc1170256fc844  powerpc-utils-1.3.3.tar.gz"
sha512sums="cdd7c355b5fd7aa11f717282bad8a03e553249ca104018519faf72a36753e1ac2f6347af3d65acaadbffd0906fd5835d8b6a49dbd545d0a2519b26cbaf9d96ae  powerpc-utils-1.3.3.tar.gz"