mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/libibmad: modernize, fix license, fix url
This commit is contained in:
parent
34da5fa15d
commit
a0424c024f
@ -2,32 +2,30 @@
|
||||
# Maintainer:
|
||||
pkgname=libibmad
|
||||
pkgver=1.3.13
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Generic InfiniBand MAD handling library"
|
||||
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"
|
||||
license="GPL-2.0-only OR BSD-2-Clause"
|
||||
depends_dev="libibumad-dev"
|
||||
makedepends="$depends_dev"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user