opt/lvm2/Pkgfile

28 lines
714 B
Plaintext
Raw Normal View History

2009-06-27 16:22:14 +02:00
# Description: Userspace toolset for logical volume management
# URL: http://sourceware.org/lvm2/
# Maintainer: Juergen Daubert, jue at crux dot nu
2009-07-27 10:19:38 +02:00
# Depends on: libdevmapper
2009-06-27 16:22:14 +02:00
name=lvm2
2010-07-23 17:54:52 +02:00
version=2.02.70
2009-08-07 08:14:32 +02:00
release=1
2009-06-27 16:22:14 +02:00
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
build() {
cd LVM2.$version
./configure --prefix=/usr \
2009-07-27 10:19:38 +02:00
--exec_prefix= \
2010-05-04 20:31:52 +02:00
--datarootdir=/usr \
--disable-readline \
2010-05-04 20:31:52 +02:00
--enable-static_link \
--with-{user,group}=root
2009-11-04 18:32:39 +01:00
make
2010-05-04 20:31:52 +02:00
make DESTDIR=$PKG install_lvm2
2009-07-27 10:19:38 +02:00
2009-06-27 16:22:14 +02: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
}