summaryrefslogtreecommitdiff
path: root/lvm2/Pkgfile
blob: 59e0e049f1fa33368d547d089a2c3e6c0b6214fa (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.70
    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 
   21     make
   22     make DESTDIR=$PKG install_lvm2
   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 }

Generated by cgit