wok-next view lvm2/receipt @ rev 21640

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