28 lines
713 B
Plaintext
28 lines
713 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.51
|
|
release=1
|
|
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
|
|
|
|
build() {
|
|
cd LVM2.$version
|
|
|
|
./configure --prefix=/usr \
|
|
--exec_prefix= \
|
|
--mandir=/usr/man \
|
|
--disable-readline
|
|
make -j1
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/{lib,usr/include}
|
|
rm $PKG/{sbin/dmsetup,usr/man/man8/dmsetup.8}
|
|
|
|
install -d -m 0700 $PKG/etc/lvm/{archive,backup}
|
|
install -d -m 1777 $PKG/var/lock
|
|
install -d -m 0700 $PKG/var/lock/lvm
|
|
}
|