wok-current view lvm2/receipt @ rev 20440

Up lvm2 (2.02.181)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 11 11:00:53 2018 +0200 (2018-09-11)
parents 6258c9d57ade
children 406a87d6dbd2
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.181"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux Logical Volume Manager."
8 MAINTAINER="guillaume.michon@laposte.net"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE.$VERSION.tgz"
11 WEB_SITE="http://sourceware.org/lvm2/"
12 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
14 DEPENDS="readline linux-md libdevmapper ncurses"
15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-cmdlib \
23 --enable-dmeventd \
24 --with-udevdir=/lib/udev/rules.d \
25 --enable-udev_sync \
26 --enable-udev_rules \
27 --enable-cmdlib \
28 --enable-applib \
29 --enable-readline \
30 --enable-pkgconfig \
31 $CONFIGURE_ARGS &&
32 make && make install
33 cd $src/udev
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/etc $fs
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/* $fs/usr/lib
44 # split libdevmapper
45 rm -f $fs/usr/lib/libdevmapper*.so*
46 rm -f $fs/usr/sbin/dmsetup
47 }