summaryrefslogtreecommitdiff
path: root/elements/unmaintained/lvm/lvm2.bst
blob: 76487fa53c370fb9e8cdc082bd3af812d4333230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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