blob: f4c2d2e7d4f8dff531bb030b8c9ca3b80493bdbb (
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.51
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 make -j1
19 make DESTDIR=$PKG install
20
21 rm -r $PKG/{lib,usr/include}
22 rm $PKG/{sbin/dmsetup,usr/man/man8/dmsetup.8}
23
24 install -d -m 0700 $PKG/etc/lvm/{archive,backup}
25 install -d -m 1777 $PKG/var/lock
26 install -d -m 0700 $PKG/var/lock/lvm
27 }
|