aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-01 13:35:00 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-01 13:35:00 +0000
commit25ba50983b9ae9edbaeb63503dccc58992260edb (patch)
tree9e67ddad2a47c522b367b66f38a603ad5a4ef192
parent9bac3e1e01f4a9d54af2c04baf05a66d9adc1008 (diff)
downloadaports-25ba50983b9ae9edbaeb63503dccc58992260edb.tar.bz2
aports-25ba50983b9ae9edbaeb63503dccc58992260edb.tar.xz
testing/libibmad: upgrade to 1.3.13 and modernize
-rw-r--r--testing/libibmad/APKBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/testing/libibmad/APKBUILD b/testing/libibmad/APKBUILD
index b9c67c05ca..5ede3c6095 100644
--- a/testing/libibmad/APKBUILD
+++ b/testing/libibmad/APKBUILD
@@ -1,21 +1,19 @@
# Contributor: Jann - Ove Risvik <jann.ove@usaklig.com>
# Maintainer:
pkgname=libibmad
-pkgver=1.3.12
-pkgrel=1
+pkgver=1.3.13
+pkgrel=0
pkgdesc="Generic InfiniBand MAD handling library"
url="https://www.openfabrics.org/index.php/openfabrics-software.html"
arch="x86 x86_64 ppc64le"
license="GPL2 BSD"
-depends=""
depends_dev="libibumad-dev"
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev"
-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"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
@@ -24,16 +22,13 @@ build() {
--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="7aabf50569c4d30a9a0689fd96097e4f libibmad-1.3.12.tar.gz"
-sha256sums="f1bfb512b5b927496bf8214da1de1972494c7e244d1a68320924b2a933f8937b libibmad-1.3.12.tar.gz"
-sha512sums="6c17d4b5c3a3cb2b682644e29c0aff0a34bc6d25c2fe007791cf08a59094dc3d1ee07f1dae5f81860f80b75de03617b55fa7ad4f11037d40c7d920fc99273330 libibmad-1.3.12.tar.gz"
+sha512sums="429fb0cb35d2e01f0116f832114df4f3eaca7bcba6698a9a5911e32063f8a8b141c3c01e2ce92322165bb34842347d035b008e1f87f47883668a7194fab3bcd5 libibmad-1.3.13.tar.gz"