mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
rdma-core: fix build and license
This commit is contained in:
parent
438694dce8
commit
1b88a0e104
1 changed files with 5 additions and 10 deletions
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'rdma-core'
|
||||
pkgname=rdma-core
|
||||
version=23.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_VALGRIND=OFF"
|
||||
hostmakedepends="pkg-config python3"
|
||||
makedepends="libnl3-devel eudev-libudev-devel python3-devel"
|
||||
short_desc="RDMA core userspace libraries and daemons"
|
||||
maintainer="Rich G <rich@richgannon.net>"
|
||||
license="GPL-2.0-or-later, BSD-2-Clause-FreeBSD"
|
||||
license="GPL-2.0-or-later, BSD-2-Clause, MIT"
|
||||
homepage="https://github.com/linux-rdma/rdma-core"
|
||||
distfiles="https://github.com/linux-rdma/rdma-core/releases/download/v${version}/rdma-core-${version}.tar.gz"
|
||||
checksum=0afb7aa2654ea914c3b5d12e6e8f2fc3f325b0a52da1febf4f66788bf0b2bb14
|
||||
|
@ -26,19 +26,14 @@ conf_files="
|
|||
|
||||
post_install() {
|
||||
# Fix path of udev rule
|
||||
mv ${DESTDIR}/usr/etc/udev/rules.d/70-persistent-ipoib.rules \
|
||||
${DESTDIR}/usr/lib/udev/rules.d
|
||||
|
||||
# The cmake is bad
|
||||
mv ${DESTDIR}/usr/etc/* ${DESTDIR}/etc/
|
||||
|
||||
# not needed
|
||||
rm -rf ${DESTDIR}/usr/lib/systemd ${DESTDIR}/etc/init.d
|
||||
mv ${DESTDIR}/etc/udev/rules.d/70-persistent-ipoib.rules \
|
||||
${DESTDIR}/usr/lib/udev/rules.d
|
||||
|
||||
# Fix location of modprobe.d files
|
||||
mv ${DESTDIR}/etc/modprobe.d ${DESTDIR}/usr/lib
|
||||
|
||||
vlicense COPYING.BSD_FB
|
||||
vlicense COPYING.BSD_MIT
|
||||
}
|
||||
|
||||
rdma-core-devel_package() {
|
||||
|
|
Loading…
Add table
Reference in a new issue