Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ libblockdev.so.3 libblockdev-3.0_1
libbd_utils.so.3 libblockdev-3.0_1
libndctl.so.6 libndctl-60.3_1
libdaxctl.so.1 libdaxctl-60.3_1
libcxl.so.1 libcxl-85_1
libudisks2.so.0 udisks2-1.93.0_1
libgcr-base-3.so.1 gcr-3.3.92_1
libgck-1.so.0 gcr-3.8.0_1
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/libcxl
1 change: 1 addition & 0 deletions srcpkgs/libcxl-devel
44 changes: 30 additions & 14 deletions srcpkgs/ndctl/template
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
# Template file for 'ndctl'
pkgname=ndctl
version=70.1
version=85
revision=1
build_style=gnu-configure
configure_args="--disable-docs --without-systemd"
hostmakedepends="automake libtool pkg-config xmlto"
build_style=meson
configure_args="-Dversion-tag=${version} -Ddocs=disabled -Dsystemd=disabled
-Dmodprobedatadir=/usr/lib/modprobe.d
-Diniparserdir=${XBPS_CROSS_BASE}/usr/include/iniparser"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel json-c-devel libkmod-devel libuuid-devel
bash-completion keyutils-devel"
bash-completion keyutils-devel iniparser-devel libtraceevent-devel
libtracefs-devel"
short_desc="Utility library for managing libnvdimm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only, GPL-2.0-only"
license="LGPL-2.1-only AND GPL-2.0-only AND CC0-1.0 AND MIT"
homepage="https://github.com/pmem/ndctl"
distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz"
checksum=2b2a7e6228481076dc807df7a658ba91017658fcb932e8bea489330380d2d682
conf_files="/etc/ndctl/monitor.conf"
checksum=69039ee12c75c44f67b5fa3f1abb61d1c38ff9303021e50cec0b45801cc93b2e
conf_files="/etc/ndctl.conf.d/monitor.conf
/etc/ndctl.conf.d/ndctl.conf"

case "$XBPS_TARGET_MACHINE" in
ppc|ppc-musl) broken="broken on ppc" ;;
esac

pre_configure() {
./autogen.sh
}

post_install() {
vmkdir usr/lib/modprobe.d
mv ${DESTDIR}/{etc,usr/lib}/modprobe.d/nvdimm-security.conf
vlicense LICENSES/other/MIT
}

libndctl_package() {
Expand All @@ -42,6 +41,13 @@ libdaxctl_package() {
}
}

libcxl_package() {
short_desc+=" - cxl library"
pkg_install() {
vmove "usr/lib/libcxl.so.*"
}
}

libndctl-devel_package() {
depends="libndctl-${version}_${revision}"
short_desc+=" - ndctl development files"
Expand All @@ -61,3 +67,13 @@ libdaxctl-devel_package() {
vmove usr/lib/libdaxctl.so
}
}

libcxl-devel_package() {
depends="libcxl-${version}_${revision}"
short_desc+=" - cxl development files"
pkg_install() {
vmove usr/include/cxl
vmove usr/lib/pkgconfig/libcxl.pc
vmove usr/lib/libcxl.so
}
}
Loading