forked from ports/contrib
20 lines
526 B
Plaintext
20 lines
526 B
Plaintext
# Description: Userspace toolset for logical volume management
|
|
# URL: http://sourceware.org/lvm2/
|
|
# Maintainer: Mark Rosenstand <mark@borkware.net>
|
|
# Depends on: device-mapper
|
|
|
|
name=lvm2
|
|
version=2.02.18
|
|
release=1
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
build() {
|
|
cd LVM2.$version
|
|
./configure --prefix=/usr --exec-prefix= --enable-lvm1_fallback
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -d -m 0700 $PKG/etc/lvm/{archive,backup}
|
|
install -d -m 1777 $PKG/var/lock
|
|
install -d -m 0700 $PKG/var/lock/lvm
|
|
}
|