wok view lvm2/receipt @ rev 23425

fusecloop: arch fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 01 11:42:26 2020 +0200 (2020-04-01)
parents 2d4c3cc3ef95
children 3e9a9990c985
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 VERSION="2.03.08"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux Logical Volume Manager."
7 MAINTAINER="guillaume.michon@laposte.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceware.org/lvm2/"
11 SOURCE="LVM2"
12 TARBALL="$SOURCE.$VERSION.tgz"
13 WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL"
15 DEPENDS="libaio libdevmapper linux-md ncurses readline"
16 BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev
17 udev-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 find * -type d -exec ln -s ../autoconf {} \;
24 # 2.03.08 unrecognised:
25 # --enable-applib
27 ./configure \
28 --enable-cmdlib \
29 --enable-dmeventd \
30 --with-udevdir=/lib/udev/rules.d \
31 --enable-udev_sync \
32 --enable-udev_rules \
33 --enable-cmdlib \
34 --enable-readline \
35 --enable-pkgconfig \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install &&
39 cd $src/udev &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/etc $fs
49 cp -a $install/usr/sbin $fs/usr
50 cp -a $install/usr/lib/* $fs/usr/lib
52 # split libdevmapper
53 rm -f $fs/usr/lib/libdevmapper*.so*
54 rm -f $fs/usr/sbin/dmsetup
55 }