2007-11-16 13:13:11 +11:00
|
|
|
# Description: Userspace toolset for logical volume management.
|
|
|
|
# URL: http://sourceware.org/lvm2/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-11-16 13:13:11 +11:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
|
|
|
# Depends on: libdevmapper
|
2007-01-12 10:36:40 +01:00
|
|
|
|
|
|
|
name=lvm2
|
2008-06-28 19:30:02 +10:00
|
|
|
version=2.02.39
|
2008-07-01 15:24:17 +10:00
|
|
|
release=2
|
2007-01-12 10:36:40 +01:00
|
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd LVM2.$version
|
2007-11-16 13:13:11 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix= \
|
2007-11-16 13:21:01 +11:00
|
|
|
--mandir=/usr/man \
|
2008-07-01 15:24:17 +10:00
|
|
|
--enable-lvm1_fallback \
|
|
|
|
--disable-readline
|
2007-11-16 13:13:11 +11:00
|
|
|
|
2007-01-12 10:36:40 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-11-16 13:13:11 +11:00
|
|
|
|
2007-01-12 10:36:40 +01:00
|
|
|
install -d -m 0700 $PKG/etc/lvm/{archive,backup}
|
|
|
|
install -d -m 1777 $PKG/var/lock
|
|
|
|
install -d -m 0700 $PKG/var/lock/lvm
|
|
|
|
}
|
2007-11-16 13:13:11 +11:00
|
|
|
|