summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/powerpc-utils/APKBUILD33
1 files changed, 33 insertions, 0 deletions
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 <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"