smlinux/base/lvm/lvm.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

53 lines
1.8 KiB
Text
Executable file

app=lvm
version=2.2.02.168
build=1sml
homepage='http://www.sourceware.org/lvm2/'
download='ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.168.tgz'
desc="Collection of logical volume utilities"
requires="eudev util-linux"
build() {
mkandenterbuilddir
rm -rf LVM-$version
tar xf $srcdir/LVM"$version".tar.?z*
cd LVM"$version"
fixbuilddirpermissions
applypatch $srcdir/fix-stdio-usage.patch
applypatch $srcdir/mallinfo.patch
applypatch $srcdir/lvm2-mlockall-config.patch
applypatch $srcdir/lvm2-libdir-config.patch
./configure \
--prefix="" \
--sysconfdir=/etc \
--sbindir=/bin \
--disable-readline \
--enable-dmeventd \
--enable-cmdlib \
--disable-nls \
--enable-pkgconfig \
--enable-applib \
--with-thin=internal \
--enable-udev_rules \
$hostdist
make
make install DESTDIR=$pkg
mv $pkg/etc/lvm/lvm.conf $pkg/etc/lvm/lvm.conf.new
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
1bd5b78f840dd53065be08a6638e05330d4de62ede415acb7a2bccc91659f154e830791b1b7b7ac2ba30588e2a295d03782b0444cb4a3cfd0ddc0a858bbef266 LVM2.2.02.168.tar.lz
6ea4efad03f8632f2883f33f9d9f8ca295f7d8d2aa1bfbfa7738e7d711727a511758848dde5776b222bd74e6fb60bed8b56a3cd2f74ca448b8d86f50470a42b9 fix-stdio-usage.patch
33004594a5cce7af1e493a2a66ce8ad2f864dde3b2ec0960d0fda9df9b7bcf65d9455f9eccf7860f48726c48f14111b843b0a0c9bd395ef2952b41aaab8092b2 lvm2-libdir-config.patch
d190c40a137b006d7b63298069c93ff08d2804b990e85d44739cd7c48beec9a569903b98f0d940895fc7365723ba886acd7ef0e08f1f65a1a391d1c448ce080e lvm2-mlockall-config.patch
9272ec8c5184ef5dc776ead8f74132e072b7563b5119a3a38b712f00d92a1e3878c9b3a54eb2b01dcba038110c686b39d4c17ecd0eb258537e9217d7ed03c408 mallinfo.patch
8f14c75dd07cfd01e4ec0ce29a77b891257ce39b0a536b493b08bc85522aa7796cb1eb9a84c9c3b6ffa437b91a0bd45be94ab27f3b2c22d37e992a0433d02593 create-dm-run-dir.diff
"