# Description: Logical Volume Manager 2 utilities # URL: https://sourceware.org/lvm2/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: libaio name=lvm2 version=2.03.38 release=1 source=(https://sourceware.org/ftp/${name}/LVM2.${version}.tgz fix-stdio-usage.patch) build() { cd LVM2.${version} patch -Np1 -i ../fix-stdio-usage.patch ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --exec-prefix= \ --enable-cmdlib \ --enable-pkgconfig \ --enable-udev_sync \ --with-udev-prefix=/usr make make DESTDIR=$PKG install rm -fr $PKG/usr/libexec/ }