a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
32 lines
810 B
Bash
32 lines
810 B
Bash
# Template file for 'opensm'
|
|
pkgname=opensm
|
|
version=3.3.22
|
|
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=1e0dc56a5cf5f8e5cd68bd534591405a5f5f1975ace40509f61a43cc2fe74ca7
|
|
patch_args=-Np0
|
|
|
|
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"
|
|
}
|
|
}
|