description="Allows spanning of file systems across multiple physical disks and partitions."
url="http://sourceware.org/lvm2/"

license="GPL2 LGPL2.1 BSD:2-Clause"

contributors="Pierre,Tnut"
packager="spiky <spiky@nutyx.org>"

makedepends=(eudev libaio util-linux)

name=lvm2
version=2.03.26

source=(https://sourceware.org/ftp/lvm2/LVM2.$version.tgz)
build() {
cd LVM2.$version
./configure \
--prefix=/usr \
--exec-prefix= \
--with-confdir=/etc \
--mandir=/usr/share/man \
--enable-cmdlib \
--enable-pkgconfig \
--enable-udev_sync
make
make DESTDIR=$PKG install

install -Dm644 COPYING $PKG/usr/share/licenses/$name/COPYING
install -Dm644 COPYING.BSD $PKG/usr/share/licenses/$name/COPYING.BSD
}
