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