aboutsummaryrefslogtreecommitdiffstats
path: root/main/powerpc-utils
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-06-01 13:21:07 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-06-01 13:24:30 +0000
commit02d4386ee32c954ca299bd440c0fc0a72b5c422e (patch)
tree7be903938d318b818c986183d9f69e1e82b89c6f /main/powerpc-utils
parentf4c879300da30c7a03a5fc8744648bdf7c97694e (diff)
downloadaports-02d4386ee32c954ca299bd440c0fc0a72b5c422e.tar.bz2
aports-02d4386ee32c954ca299bd440c0fc0a72b5c422e.tar.xz
main/grub: add powerpc-utils as dependency for grub-ieee1275
grub-ieee1275 for ppc64le requires some commands that are provided by powerpc-utils. Said that, I am moving powerpc-utils to main packages and addig it as dependency for grub-ieee1275.
Diffstat (limited to 'main/powerpc-utils')
-rw-r--r--main/powerpc-utils/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/powerpc-utils/APKBUILD b/main/powerpc-utils/APKBUILD
new file mode 100644
index 0000000000..e514f48687
--- /dev/null
+++ b/main/powerpc-utils/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Breno Leitao <breno.leitao@gmail.com>
+pkgname=powerpc-utils
+pkgver=1.3.3
+pkgrel=0
+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"
+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"