blob: 8f7fa8fbf3e3e1499f9788b60ced7424ddcc52e4 (
plain)
1 # Description: Userspace toolset for logical volume management
2 # URL: http://sourceware.org/lvm2/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: libdevmapper
5
6 name=lvm2
7 version=2.02.73
8 release=1
9 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
10
11 build() {
12 cd LVM2.$version
13
14 ./configure --prefix=/usr \
15 --exec_prefix= \
16 --datarootdir=/usr \
17 --disable-readline \
18 --enable-static_link \
19 --with-{user,group}=root
20 make
21 make DESTDIR=$PKG install_lvm2
22
23 install -d -m 0700 $PKG/etc/lvm/{archive,backup}
24 install -d -m 1777 $PKG/var/lock
25 install -d -m 0700 $PKG/var/lock/lvm
26 }
|