29 lines
635 B
Plaintext
29 lines
635 B
Plaintext
# Description: Userspace toolset for logical volume management.
|
|
# URL: http://sourceware.org/lvm2/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
|
# Depends on: libdevmapper
|
|
|
|
name=lvm2
|
|
version=2.02.28
|
|
release=1
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
build() {
|
|
cd LVM2.$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--exec-prefix= \
|
|
--mandir=/usr/man \
|
|
--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
|
|
}
|
|
|