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