# Description: Userspace toolset for logical volume management # URL: http://sourceware.org/lvm2/ # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: libdevmapper libaio name=lvm2 version=2.02.185 release=1 source=(https://mirrors.kernel.org/sourceware/lvm2/LVM2.$version.tgz) build() { cd LVM2.$version # needed for static linking export LIBS="-lpthread -luuid -lm" CONFIG_SHELL=/bin/bash \ ./configure --prefix=/usr \ --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 make make DESTDIR=$PKG install_lvm2 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 }