void-packages/srcpkgs/ndctl/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

63 lines
1.5 KiB
Bash

# Template file for 'ndctl'
pkgname=ndctl
version=65
revision=1
build_style=gnu-configure
configure_args="--disable-docs --without-systemd"
hostmakedepends="automake libtool pkg-config xmlto"
makedepends="eudev-libudev-devel json-c-devel libkmod-devel libuuid-devel
bash-completion keyutils-devel"
short_desc="Utility library for managing libnvdimm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only, GPL-2.0-only"
homepage="https://github.com/pmem/ndctl"
distfiles="https://github.com/pmem/ndctl/archive/v${version}.tar.gz"
checksum=01870de8ed902b14314485f71e0d36e72694c7046e0603b41df107b2827d3781
conf_files="/etc/ndctl/monitor.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
}
libndctl_package() {
short_desc+=" - ndctl library"
pkg_install() {
vmove "usr/lib/libndctl.so.*"
}
}
libdaxctl_package() {
short_desc+=" - daxctl library"
pkg_install() {
vmove "usr/lib/libdaxctl.so.*"
}
}
libndctl-devel_package() {
depends="libndctl-${version}_${revision}"
short_desc+=" - ndctl development files"
pkg_install() {
vmove usr/include/ndctl
vmove usr/lib/pkgconfig/libndctl.pc
vmove usr/lib/libndctl.so
}
}
libdaxctl-devel_package() {
depends="libdaxctl-${version}_${revision}"
short_desc+=" - daxctl development files"
pkg_install() {
vmove usr/include/daxctl
vmove usr/lib/pkgconfig/libdaxctl.pc
vmove usr/lib/libdaxctl.so
}
}