aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libibumad/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-06 07:24:52 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-06 11:08:19 -0300
commit34da5fa15dd01bfe1d61ad56eb8941a6553e792b (patch)
tree028459b36ac85173c98e84cc01c454a89b3733a5 /testing/libibumad/APKBUILD
parent7b86ac30b3560c6a14871e6e1d6922ca92d29d50 (diff)
downloadaports-34da5fa15dd01bfe1d61ad56eb8941a6553e792b.tar.bz2
aports-34da5fa15dd01bfe1d61ad56eb8941a6553e792b.tar.xz
testing/libibumad: modernize, fix url, fix license
Diffstat (limited to 'testing/libibumad/APKBUILD')
-rw-r--r--testing/libibumad/APKBUILD32
1 files changed, 11 insertions, 21 deletions
diff --git a/testing/libibumad/APKBUILD b/testing/libibumad/APKBUILD
index afc9f18b11..2fe9c12ddb 100644
--- a/testing/libibumad/APKBUILD
+++ b/testing/libibumad/APKBUILD
@@ -2,44 +2,34 @@
# Maintainer:
pkgname=libibumad
pkgver=1.3.10.2
-pkgrel=1
+pkgrel=2
pkgdesc="Interface to ib_umad module (user_mad) library. (InfiniBand)"
-url="https://www.openfabrics.org/index.php/openfabrics-software.html"
+options="!check" # No testsuite
+url="https://www.openfabrics.org/downloads/management/"
arch="x86 x86_64 ppc64le"
-license="GPL-2.0 BSD"
-depends=""
-depends_dev=""
-makedepends=""
-install=""
+license="GPL-2.0-only OR BSD-2-Clause"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz
-"
+source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$builddir"
- update_config_sub || return 1
+ default_prepare
+ update_config_sub
}
-
build() {
- cd "$builddir"
./configure \
- --build=$CBUILD \
+ --build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="dd017844c55713bd335aa229e6841d41 libibumad-1.3.10.2.tar.gz"
-sha256sums="500f74e31bd9f3d6c32dea912de3a2d1b299f3f23d7abd893652dd45c77a7e2e libibumad-1.3.10.2.tar.gz"
sha512sums="aa2e9038600f6fd9f5cd7c42f6125f25db1504eca040d48f501acf3dcba310f5af50d56fbfe959d1f33b3eacd382f33782077510c7f1a841ae12c5942eb7fa8c libibumad-1.3.10.2.tar.gz"