blob: 043cc2ec8c65bd53ed0190860cd9fcbb48f9a16a (
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.52
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 --mandir=/usr/man \
17 --disable-readline \
18 --enable-static_link
19
20 make -j1
21 make DESTDIR=$PKG install
22
23 rm -r $PKG/{lib,usr/include}
24 rm $PKG/{sbin/dmsetup*,usr/man/man8/dmsetup.8}
25
26 install -d -m 0700 $PKG/etc/lvm/{archive,backup}
27 install -d -m 1777 $PKG/var/lock
28 install -d -m 0700 $PKG/var/lock/lvm
29 }
|