wok-next diff lvm2/receipt @ rev 19816
gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 27 00:56:44 2017 +0300 (2017-07-27) |
parents | 6258c9d57ade |
children | 0e7893ac206d |
line diff
1.1 --- a/lvm2/receipt Sat Nov 02 21:26:53 2013 +0100 1.2 +++ b/lvm2/receipt Thu Jul 27 00:56:44 2017 +0300 1.3 @@ -1,47 +1,79 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lvm2" 1.8 -SOURCE="LVM2" 1.9 -VERSION="2.02.98" 1.10 +VERSION="2.02.173" 1.11 CATEGORY="system-tools" 1.12 -SHORT_DESC="Linux Logical Volume Manager." 1.13 +SHORT_DESC="Linux Logical Volume Manager" 1.14 MAINTAINER="guillaume.michon@laposte.net" 1.15 LICENSE="GPL2" 1.16 -TARBALL="$SOURCE.$VERSION.tgz" 1.17 WEB_SITE="http://sourceware.org/lvm2/" 1.18 + 1.19 +TARBALL="LVM2.$VERSION.tgz" 1.20 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL" 1.21 1.22 -DEPENDS="readline linux-md libdevmapper ncurses" 1.23 -BUILD_DEPENDS="readline-dev udev-dev ncurses-dev" 1.24 +BUILD_DEPENDS="readline-dev eudev-dev ncurses-dev coreutils-file-format" 1.25 +SPLIT="dmsetup libdevmapper libdevmapper-dev lvm2 lvm2-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 + # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lvm2.html 1.32 + 1.33 ./configure \ 1.34 + --exec-prefix= \ 1.35 + --enable-applib \ 1.36 --enable-cmdlib \ 1.37 + --enable-pkgconfig \ 1.38 + --enable-udev_sync \ 1.39 --enable-dmeventd \ 1.40 - --with-udevdir=/lib/udev/rules.d \ 1.41 - --enable-udev_sync \ 1.42 --enable-udev_rules \ 1.43 - --enable-cmdlib \ 1.44 - --enable-applib \ 1.45 --enable-readline \ 1.46 - --enable-pkgconfig \ 1.47 + --with-thin-check= --with-thin-dump= --with-thin-repair= \ 1.48 + --with-thin-restore= --with-cache-check= --with-cache-dump= \ 1.49 + --with-cache-repair= --with-cache-restore= \ 1.50 + MKDIR_P='mkdir -p' \ 1.51 $CONFIGURE_ARGS && 1.52 - make && make install 1.53 - cd $src/udev 1.54 + title "make" && 1.55 + make && 1.56 + make -C tools install_dmsetup_dynamic && 1.57 + make -C udev install && 1.58 + make -C libdm install && 1.59 make install 1.60 } 1.61 1.62 # Rules to gen a SliTaz package suitable for Tazpkg. 1.63 genpkg_rules() 1.64 { 1.65 - mkdir -p $fs/usr/lib 1.66 - cp -a $install/etc $fs 1.67 - cp -a $install/usr/sbin $fs/usr 1.68 - cp -a $install/usr/lib/* $fs/usr/lib 1.69 - # split libdevmapper 1.70 - rm -f $fs/usr/lib/libdevmapper*.so* 1.71 - rm -f $fs/usr/sbin/dmsetup 1.72 + case $PACKAGE in 1.73 + dmsetup) 1.74 + copy dmsetup dmstats 1.75 + DEPENDS="libdevmapper" 1.76 + CAT="system-tools|Linux device mapper setup tool" 1.77 + ;; 1.78 + libdevmapper) 1.79 + # to satisfy package ldd-dependencies: add liblvm2cmd.so* 1.80 + copy *.rules libdevmapper*.so* liblvm2cmd.so* 1.81 + DEPENDS="eudev" 1.82 + CAT="system-tools|Linux device mapper library" 1.83 + ;; 1.84 + libdevmapper-dev) 1.85 + # ... and add lvm2cmd.h because liblvm2cmd.so in libdevmapper package 1.86 + copy libdevmapper*.h devmapper*.pc lvm2cmd.h 1.87 + CAT="system-tools|Linux device mapper development files" 1.88 + DEPENDS="libdevmapper eudev-dev" 1.89 + ;; 1.90 + lvm2) 1.91 + copy @std 1.92 + remove_already_packed 1.93 + DEPENDS="eudev libdevmapper ncurses readline linux-md" 1.94 + ;; 1.95 + lvm2-dev) 1.96 + copy lvm2app.h lvm2app.pc 1.97 + DEPENDS="lvm2 libdevmapper-dev" 1.98 + ;; 1.99 + esac 1.100 } 1.101 + 1.102 +post_install_libdevmapper() { 1.103 + tazpkg reconfigure eudev --root="$1" 1.104 +}