27 lines
713 B
Plaintext
27 lines
713 B
Plaintext
# Description: Userspace toolset for logical volume management
|
|
# URL: http://sourceware.org/lvm2/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libdevmapper
|
|
|
|
name=lvm2
|
|
version=2.02.72
|
|
release=2
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
build() {
|
|
cd LVM2.$version
|
|
|
|
./configure --prefix=/usr \
|
|
--exec_prefix= \
|
|
--datarootdir=/usr \
|
|
--disable-readline \
|
|
--enable-static_link \
|
|
--with-{user,group}=root
|
|
make
|
|
make DESTDIR=$PKG install_lvm2
|
|
|
|
install -d -m 0700 $PKG/etc/lvm/{archive,backup}
|
|
install -d -m 1777 $PKG/var/lock
|
|
install -d -m 0700 $PKG/var/lock/lvm
|
|
}
|