summaryrefslogtreecommitdiff
path: root/elements/unmaintained/lvm/lvm2.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/unmaintained/lvm/lvm2.bst')
-rw-r--r--elements/unmaintained/lvm/lvm2.bst24
1 files changed, 24 insertions, 0 deletions
diff --git a/elements/unmaintained/lvm/lvm2.bst b/elements/unmaintained/lvm/lvm2.bst
new file mode 100644
index 00000000..76487fa5
--- /dev/null
+++ b/elements/unmaintained/lvm/lvm2.bst
@@ -0,0 +1,24 @@
+kind: autotools
+depends:
+- foundation.bst
+sources:
+- kind: git
+ url: upstream:lvm2
+ track: v2_02_115
+ ref: fa01faaa4aa96de834ba7e8fbb9d9aff908571c3
+config:
+ configure-commands:
+ - |
+ ./configure --prefix="%{prefix}" \
+ --sbindir="%{prefix}"/sbin \
+ --with-udev-prefix="%{prefix}" \
+ --with-systemdsystemunitdir="%{prefix}"/lib/systemd/system \
+ --enable-applib --enable-cmdlib --enable-pkgconfig --enable-lvmetad \
+ --enable-dmeventd --enable-udev_sync
+ install-commands:
+ - make DESTDIR="%{install-root}" install
+ - make DESTDIR="%{install-root}" install_system_dirs
+ - make DESTDIR="%{install-root}" install_systemd_generators
+ - make DESTDIR="%{install-root}" install_systemd_units
+ - make DESTDIR="%{install-root}" install_tmpfiles_configuration
+ - sed -e 's/use_lvmetad = 0/use_lvmetad = 1/' -i "%{install-root}"/etc/lvm/lvm.conf