opt/lvm2/Pkgfile

39 lines
875 B
Plaintext
Raw Normal View History

2009-06-27 16:22:14 +02:00
# Description: Userspace toolset for logical volume management
2021-05-08 18:26:24 +02:00
# URL: http://sourceware.org/lvm2/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libdevmapper libaio
2009-06-27 16:22:14 +02:00
name=lvm2
2023-04-22 13:03:52 +02:00
version=2.03.21
2015-12-06 18:22:41 +01:00
release=1
2018-06-22 10:36:25 +02:00
source=(https://mirrors.kernel.org/sourceware/lvm2/LVM2.$version.tgz)
2009-06-27 16:22:14 +02:00
build() {
2021-05-08 18:26:24 +02:00
cd LVM2.$version
2009-06-27 16:22:14 +02:00
2021-05-08 18:26:24 +02:00
# needed for static linking
export LIBS="-lpthread -luuid -lm"
2013-11-15 14:34:47 +01:00
2021-05-08 18:26:24 +02:00
CONFIG_SHELL=/bin/bash \
./configure \
--prefix=/usr \
--exec-prefix= \
--datarootdir=/usr \
--mandir=/usr/share/man \
--with-udev-prefix= \
--disable-readline \
--disable-selinux \
--enable-pkgconfig \
--enable-static_link \
--enable-udev_sync \
--enable-udev_rules \
--with-{user,group}=root
2021-05-08 18:26:24 +02:00
make
make DESTDIR=$PKG install_lvm2
2009-07-27 10:19:38 +02:00
2021-05-08 18:26:24 +02:00
install -d -m 0700 $PKG/etc/lvm/{archive,backup,cache}
install -d -m 1777 $PKG/var/lock
install -d -m 0700 $PKG/var/lock/lvm
2009-06-27 16:22:14 +02:00
}