From d33bd90526f628265f6dccb570a2ce93ee06ac84 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 27 Jul 2018 03:32:13 -0500 Subject: user/powerpc-utils: pull in, take, bump to 1.3.5, modernise --- user/powerpc-utils/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/powerpc-utils/APKBUILD diff --git a/user/powerpc-utils/APKBUILD b/user/powerpc-utils/APKBUILD new file mode 100644 index 000000000..878466c74 --- /dev/null +++ b/user/powerpc-utils/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2