summaryrefslogtreecommitdiff
path: root/repo/util/lvm2/lvm2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
committerdavidovski <david@davidovski.xyz>2022-05-27 18:34:26 +0100
commit4615385d6c8203001962a7a31dd02cdb1a73544b (patch)
tree0ff0ea93838f9c39ee5a09066ad05d9567e31437 /repo/util/lvm2/lvm2.xibuild
parent7b0628f037dcbf85cfb381d5e05dea39a2059d33 (diff)
added tor
Diffstat (limited to 'repo/util/lvm2/lvm2.xibuild')
-rw-r--r--repo/util/lvm2/lvm2.xibuild48
1 files changed, 0 insertions, 48 deletions
diff --git a/repo/util/lvm2/lvm2.xibuild b/repo/util/lvm2/lvm2.xibuild
deleted file mode 100644
index eff7a0f..0000000
--- a/repo/util/lvm2/lvm2.xibuild
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-NAME="lvm2"
-DESC="Logical Volume Manager 2 utilities"
-
-MAKEDEPS="make "
-DEPS="libaio util-linux musl device-mapper"
-
-PKG_VER=2.02.187
-SOURCE="https://mirrors.kernel.org/sourceware/lvm2/LVM2.$PKG_VER.tgz"
-ADDITIONAL="mlockall-default-config.patch mallinfo.patch lvm.initd lvm.confd fix-stdio-usage.patch dmeventd.initd "
-
-prepare () {
- apply_patches
- autoreconf -fi
-}
-
-build () {
- ./configure \
- --prefix=/usr \
- --bindir=/usr/bin \
- --sysconfdir=/etc \
- --disable-static \
- --enable-static_link \
- --disable-nls \
- --disable-readline \
- --enable-pkgconfig \
- --enable-applib \
- --with-thin=internal \
- --enable-dmeventd \
- --enable-cmdlib \
- --with-thin-check=/sbin/thin_check \
- --with-thin-dump=/sbin/thin_dump \
- --with-thin-repair=/sbin/thin_repair \
- --with-dmeventd-path=/sbin/dmeventd \
- --enable-udev_rules
-
- make
-}
-
-package () {
- make DESTDIR="$PKG_DEST" install
- install -d "$PKG_DEST"/etc/lvm/archive "$PKG_DEST"/etc/lvm/backup
- install -Dm755 lvm.initd "$PKG_DEST"/etc/init.d/lvm
- install -Dm644 lvm.confd "$PKG_DEST"/etc/conf.d/lvm
- ln -s libdevmapper.so.1.02 "$PKG_DEST"/lib/libdevmapper.so
-
-}