summaryrefslogtreecommitdiff
path: root/lvm2/Pkgfile
blob: e8b2e83b9fcec361b6df096979de71d1c0d225dc (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.83
    8 release=1
    9 source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.$version.tgz
   10         lvm2-static_build.patch)
   11 
   12 build() {
   13     cd LVM2.$version
   14 
   15     patch -p1 -i $SRC/lvm2-static_build.patch
   16 
   17     ./configure --prefix=/usr \
   18                 --exec_prefix= \
   19                 --datarootdir=/usr \
   20                 --disable-readline \
   21                 --enable-static_link \
   22                 --with-{user,group}=root
   23     make
   24     make DESTDIR=$PKG install_lvm2
   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 }

Generated by cgit