diff options
author | Jann - Ove Risvik <jann.ove@usaklig.com> | 2016-07-09 16:41:17 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-22 09:56:53 +0000 |
commit | 69056af70ba9ad297b07674ebaf54531bec758bc (patch) | |
tree | 5901ce01c08cf1cbbc6ac5787619071d0dd18086 /testing/opensm/APKBUILD | |
parent | 26c5436128f8bc774d62f25d4e90ea52c3e07984 (diff) | |
download | aports-69056af70ba9ad297b07674ebaf54531bec758bc.tar.bz2 aports-69056af70ba9ad297b07674ebaf54531bec758bc.tar.xz |
testing/opensm: new aport
https://openfabrics.org/index.php/openfabrics-software.html
OpenSM InfiniBand subnet manager
Diffstat (limited to 'testing/opensm/APKBUILD')
-rw-r--r-- | testing/opensm/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/opensm/APKBUILD b/testing/opensm/APKBUILD new file mode 100644 index 0000000000..43bc5b7e0a --- /dev/null +++ b/testing/opensm/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Jann - Ove Risvik <jann.ove@usaklig.com> +# Maintainer: +pkgname=opensm +pkgver=3.3.20 +pkgrel=0 +pkgdesc="OpenSM InfiniBand subnet manager" +url="https://www.openfabrics.org/index.php/openfabrics-software.html" +arch="x86 x86_64" +license="GPL2 BSD" +depends="libibumad" +depends_dev="libibumad-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz +0001-musl-fixes.patch" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + ./configure \ + --build=`echo $CBUILD | sed s/alpine-linux-musl/linux/`\ + --host=`echo $CHOST | sed s/alpine-linux-musl/linux/` \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="ed615b4681e94ef2e13a5de773ab89a3 opensm-3.3.20.tar.gz +cbe036cdfddfd37f6381fe7269498d0e 0001-musl-fixes.patch" +sha256sums="e17d7446abb99809b0975ea894a9f0ce56a65c5eac1185a857c8bf7978785a98 opensm-3.3.20.tar.gz +a507a4cc20982e75e674da5ba43e5a56420153338f1ffd9a6f5328488acfe8b2 0001-musl-fixes.patch" +sha512sums="ea76ae8088c949d6d0d7524920cb333d0981af34bdbe2fa2bde30f13b58dcaeb842989621990a09dfd02db56c180a70109a00e5a45aba800d593b7ee95e4b9b7 opensm-3.3.20.tar.gz +c5f07423c9726bc4671327596d8585a669b25d75d9143db99e621ab6a08ed4aa0ee22e9725afe10bf4bf98ed503a06e9f52639f41a3cae61a34987b4ed643a32 0001-musl-fixes.patch" |