30 lines
792 B
Plaintext
30 lines
792 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.76
|
|
release=1
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz
|
|
lvm2-static_build.patch)
|
|
|
|
build() {
|
|
cd LVM2.$version
|
|
|
|
patch -p1 -i $SRC/lvm2-static_build.patch
|
|
|
|
./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
|
|
}
|