aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iprutils
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-02-09 12:49:43 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-14 07:45:25 +0000
commit3ee55954f80411fbb010a27f5cab3a30edaf972c (patch)
tree730ced254ad2da000862fad664c49875e09e239b /testing/iprutils
parent80a2ee8a3830b194878a1110778ee9c8633df1af (diff)
downloadaports-3ee55954f80411fbb010a27f5cab3a30edaf972c.tar.bz2
aports-3ee55954f80411fbb010a27f5cab3a30edaf972c.tar.xz
testing/iprutils: Adding a new package
Iprutils is a userspace package required to handle most of the storage controller on ppc64le arch. Build tested on ppc64le and amd64.
Diffstat (limited to 'testing/iprutils')
-rw-r--r--testing/iprutils/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/iprutils/APKBUILD b/testing/iprutils/APKBUILD
new file mode 100644
index 0000000000..79f1f68d88
--- /dev/null
+++ b/testing/iprutils/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Breno Leitao <breno.leitao@gmail.com>
+pkgname=iprutils
+pkgver=2.4.14
+pkgrel=0
+pkgdesc="user space tools required by the ipr device driver."
+url="https://github.com/bjking1/iprutils"
+arch="ppc64le"
+license="CPL"
+depends="zlib ncurses"
+makedepends="autoconf automake libtool linux-headers m4 ncurses-dev zlib-dev"
+install=""
+subpackages="$pkgname-doc"
+_pkgver=${pkgver//./-}
+source="$pkgname-$pkgver.tar.gz::https://github.com/bjking1/$pkgname/archive/rel-$_pkgver.tar.gz"
+
+builddir="$srcdir"/iprutils-rel-$_pkgver
+
+build() {
+ cd "$builddir"
+ ./bootstrap.sh
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="267200f22684688f49c2b0da8d4b18d4 iprutils-2.4.14.tar.gz"
+sha256sums="124c45c7873107b825c93b4a7683f5aafc6b047b87ec9483df9f9dfc3e85719a iprutils-2.4.14.tar.gz"
+sha512sums="311026de8fd9f98a9d9882c8a88af3ef4c350318b8f569e46ec7598e516759f3476e6fba7cee068a7582792690e43f601c2deffd6e0871bf19f2bc9707f27139 iprutils-2.4.14.tar.gz"