c52c3f5089
closes #9005
31 lines
794 B
Bash
31 lines
794 B
Bash
# Template file for 'opensm'
|
|
pkgname=opensm
|
|
version=3.3.21
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake bison flex libtool"
|
|
makedepends="rdma-core-devel"
|
|
short_desc="InfiniBand Subnet Manager and Administrator"
|
|
maintainer="Rich G <rich@richgannon.net>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://github.com/linux-rdma/opensm"
|
|
distfiles="https://github.com/linux-rdma/opensm/releases/download/${version}/opensm-${version}.tar.gz"
|
|
checksum=50d024090dc083274bc840792a3b539ecee5ad37a42948f43e84068e42b89b48
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/etc/init.d
|
|
}
|
|
|
|
opensm-devel_package() {
|
|
depends="opensm-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|