aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 00:55:01 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-27 00:55:01 -0300
commitdfac60e989ded06af01a4eaaa8b4e6a6b449662d (patch)
tree010e2b878b1a2a0e7b127ba7aa377c79784366ca
parent098a78e8f3f8c06b4e6f786a54a26aa5b71f0daa (diff)
downloadaports-dfac60e989ded06af01a4eaaa8b4e6a6b449662d.tar.gz
aports-dfac60e989ded06af01a4eaaa8b4e6a6b449662d.tar.bz2
aports-dfac60e989ded06af01a4eaaa8b4e6a6b449662d.tar.xz
testing/infiniband-diags: fix url fix license
-rw-r--r--testing/infiniband-diags/APKBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/testing/infiniband-diags/APKBUILD b/testing/infiniband-diags/APKBUILD
index 81532c2e05..036e5098b3 100644
--- a/testing/infiniband-diags/APKBUILD
+++ b/testing/infiniband-diags/APKBUILD
@@ -2,37 +2,29 @@
# Maintainer:
pkgname=infiniband-diags
pkgver=1.6.6
-pkgrel=1
+pkgrel=2
pkgdesc="Various infiniband diagnostic tools"
-url="https://www.openfabrics.org/index.php/openfabrics-software.html"
+url="https://github.com/linux-rdma/infiniband-diags"
arch="x86 x86_64 ppc64le"
-license="GPL-2.0 BSD"
-depends=""
+license="GPL-2.0-only OR BSD-2-Clause"
depends_dev="opensm-dev libibmad-dev glib-dev eudev-dev"
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="b855ca3b98afefc2ad6a2de378ab71dd infiniband-diags-1.6.6.tar.gz"
-sha256sums="cc814bcb9aeb7764116602700e8c442dcba883fd43b7e2be990ad78687813780 infiniband-diags-1.6.6.tar.gz"
sha512sums="aeb7a24e16c03bdca1ab8fbd6b1fcc434dae8b96544501aa8643bf8a3a2f3f0cb529b48211f9fe2fb4c61343bfae1ffdec95cb5830da9dd396d9fe0b288b2def infiniband-diags-1.6.6.tar.gz"