blob: b3070aeef8faaa7161441aee09fc877ef4a1c7a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Jann - Ove Risvik <jann.ove@usaklig.com>
# Maintainer:
pkgname=opensm
pkgver=3.3.20
pkgrel=1
pkgdesc="OpenSM InfiniBand subnet manager"
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 bison flex"
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
prepare() {
update_config_sub
default_prepare || return 1
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--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"
|