Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files Updated net/cgit tarball checksum Switched to cmake build system in net/weechat Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh Fixed hardcoded doc directory name in xorg/jasper
52 lines
1.7 KiB
Text
Executable file
52 lines
1.7 KiB
Text
Executable file
app=lvm
|
|
version=2.2.02.168
|
|
build=2sml
|
|
homepage="http://www.sourceware.org/lvm2/"
|
|
download="ftp://sources.redhat.com/pub/lvm2/releases/LVM$version.tgz"
|
|
desc="Collection of logical volume utilities"
|
|
requires="eudev util-linux"
|
|
|
|
prepbuilddir() {
|
|
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
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--sbindir=/bin \
|
|
--disable-readline \
|
|
--enable-dmeventd \
|
|
--enable-cmdlib \
|
|
--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
|
|
"
|