ncurses and readline support is not necessary for the host tool version.

Signed-off-by: Bastian Krause <[email protected]>
---
 rules/host-lvm2.in   |  8 ++++++
 rules/host-lvm2.make | 67 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 rules/host-lvm2.in
 create mode 100644 rules/host-lvm2.make

diff --git a/rules/host-lvm2.in b/rules/host-lvm2.in
new file mode 100644
index 000000000..c77fc3e28
--- /dev/null
+++ b/rules/host-lvm2.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LVM2
+       tristate
+       help
+         LVM2 refers to a new userspace toolset that provide logical volume 
management
+         facilities on linux. It is reasonably backwards-compatible with the 
original
+         LVM toolset
diff --git a/rules/host-lvm2.make b/rules/host-lvm2.make
new file mode 100644
index 000000000..a74a992cd
--- /dev/null
+++ b/rules/host-lvm2.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Bastian Krause <[email protected]>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LVM2) += host-lvm2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LVM2_CONF_TOOL    := autoconf
+# --disable-o_direct leads to compilation error ("device/dev-io.c:537:5: 
error: label 'opened' used but not defined")
+HOST_LVM2_CONF_OPT     := \
+       $(HOST_AUTOCONF) \
+       --disable-static_link \
+       --disable-lvm1_fallback \
+       --disable-thin_check_needs_check \
+       --disable-cache_check_needs_check \
+       --disable-readline \
+       --enable-realtime \
+       --disable-ocf \
+       --disable-cmirrord \
+       --disable-debug \
+       --disable-profiling \
+       --disable-testing \
+       --disable-valgrind-pool \
+       --enable-devmapper \
+       --disable-lvmetad \
+       --disable-lvmpolld \
+       --disable-lvmlockd-sanlock \
+       --disable-lvmlockd-dlm \
+       --disable-use-lvmlockd \
+       --disable-use-lvmetad \
+       --disable-use-lvmpolld \
+       --disable-dmfilemapd \
+       --disable-notify-dbus \
+       --disable-blkid_wiping \
+       --disable-compat \
+       --disable-units-compat \
+       --disable-ioctl \
+       --enable-o_direct \
+       --disable-applib \
+       --disable-cmdlib \
+       --disable-python_bindings \
+       --disable-python2_bindings \
+       --disable-python3_bindings \
+       --disable-pkgconfig \
+       --disable-write_install \
+       --disable-fsadm \
+       --disable-blkdeactivate \
+       --disable-dmeventd \
+       --disable-selinux \
+       --disable-nls
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to