wok-next view lvm2/receipt @ rev 20827

new tor: 0.3.3.7
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 10:13:14 2018 +0000 (2018-06-14)
parents 0e8dadf052b9
children e7a485521d6a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lvm2"
4 VERSION="2.02.177"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux Logical Volume Manager"
7 MAINTAINER="guillaume.michon@laposte.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://sourceware.org/lvm2/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lvm2.html"
12 TARBALL="LVM2.$VERSION.tgz"
13 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
15 BUILD_DEPENDS="readline-dev eudev-dev ncurses-dev coreutils-file-format"
16 SPLIT="dmsetup libdevmapper libdevmapper-dev lvm2 lvm2-dev"
18 compile_rules() {
19 ./configure \
20 --exec-prefix= \
21 --enable-applib \
22 --enable-cmdlib \
23 --enable-pkgconfig \
24 --enable-udev_sync \
25 --enable-dmeventd \
26 --enable-udev_rules \
27 --enable-readline \
28 --with-thin-check= --with-thin-dump= --with-thin-repair= \
29 --with-thin-restore= --with-cache-check= --with-cache-dump= \
30 --with-cache-repair= --with-cache-restore= \
31 MKDIR_P='mkdir -p' \
32 $CONFIGURE_ARGS &&
33 title "make" &&
34 make &&
35 make -C tools install_dmsetup_dynamic &&
36 make -C udev install &&
37 make -C libdm install &&
38 make install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 dmsetup)
44 copy dmsetup dmstats
45 DEPENDS="libdevmapper"
46 CAT="system-tools|Linux device mapper setup tool"
47 ;;
48 libdevmapper)
49 # to satisfy package ldd-dependencies: add liblvm2cmd.so*
50 copy *.rules libdevmapper*.so* liblvm2cmd.so*
51 DEPENDS="eudev"
52 CAT="system-tools|Linux device mapper library"
53 ;;
54 libdevmapper-dev)
55 # ... and add lvm2cmd.h because liblvm2cmd.so in libdevmapper package
56 copy libdevmapper*.h devmapper*.pc lvm2cmd.h
57 CAT="system-tools|Linux device mapper development files"
58 DEPENDS="libdevmapper eudev-dev"
59 ;;
60 lvm2)
61 copy @std @rm
62 DEPENDS="eudev libdevmapper ncurses readline linux-md"
63 ;;
64 lvm2-dev)
65 copy lvm2app.h lvm2app.pc
66 DEPENDS="lvm2 libdevmapper-dev"
67 ;;
68 esac
69 }
71 post_install_libdevmapper() {
72 tazpkg reconfigure eudev --root="$1"
73 }