Commit 2046f648 authored by Natanael Copa's avatar Natanael Copa

testing/opensm: cleanup

parent 69056af7
......@@ -7,20 +7,25 @@ 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=""
depends_dev="libibumad-dev"
makedepends="$depends_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=`echo $CBUILD | sed s/alpine-linux-musl/linux/`\
--host=`echo $CHOST | sed s/alpine-linux-musl/linux/` \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment