summaryrefslogtreecommitdiff
path: root/user/powerpc-utils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 03:32:13 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 03:32:13 -0500
commitd33bd90526f628265f6dccb570a2ce93ee06ac84 (patch)
tree28202d2037020fef9fb1c3b6c8f11d59937344d0 /user/powerpc-utils/APKBUILD
parent8b1c1ddc81ad85a42affffce785fb80d237feec0 (diff)
downloadpackages-d33bd90526f628265f6dccb570a2ce93ee06ac84.tar.gz
packages-d33bd90526f628265f6dccb570a2ce93ee06ac84.tar.bz2
packages-d33bd90526f628265f6dccb570a2ce93ee06ac84.tar.xz
packages-d33bd90526f628265f6dccb570a2ce93ee06ac84.zip
user/powerpc-utils: pull in, take, bump to 1.3.5, modernise
Diffstat (limited to 'user/powerpc-utils/APKBUILD')
-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"