2007-11-16 03:13:11 +01:00
|
|
|
# Description: Userspace toolset for logical volume management.
|
|
|
|
# URL: http://sourceware.org/lvm2/
|
2008-03-26 03:45:31 +01:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-11-16 03:13:11 +01:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
|
|
|
# Depends on: libdevmapper
|
2007-01-12 10:36:40 +01:00
|
|
|
|
|
|
|
name=lvm2
|
2008-06-12 16:03:22 +02:00
|
|
|
version=2.02.38
|
2007-01-12 10:36:40 +01:00
|
|
|
release=1
|
|
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd LVM2.$version
|
2007-11-16 03:13:11 +01:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix= \
|
2007-11-16 03:21:01 +01:00
|
|
|
--mandir=/usr/man \
|
2007-11-16 03:13:11 +01:00
|
|
|
--enable-lvm1_fallback
|
|
|
|
|
2007-01-12 10:36:40 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-11-16 03:13:11 +01: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 03:13:11 +01:00
|
|
|
|