wok-6.x view lvm2/receipt @ rev 22672
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:46:11 2020 +0100 (2020-01-17) |
parents | 406a87d6dbd2 |
children | 1aa68395bb51 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.183"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux Logical Volume Manager."
8 MAINTAINER="guillaume.michon@laposte.net"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE.$VERSION.tgz"
11 WEB_SITE="http://sourceware.org/lvm2/"
12 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
14 DEPENDS="readline linux-md libdevmapper ncurses libaio"
15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev libaio-dev \
16 coreutils-file-format"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 find * -type d -exec ln -s ../autoconf {} \;
22 ./configure \
23 --enable-cmdlib \
24 --enable-dmeventd \
25 --with-udevdir=/lib/udev/rules.d \
26 --enable-udev_sync \
27 --enable-udev_rules \
28 --enable-cmdlib \
29 --enable-applib \
30 --enable-readline \
31 --enable-pkgconfig \
32 $CONFIGURE_ARGS &&
33 make && make install
34 cd $src/udev
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/etc $fs
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib/* $fs/usr/lib
45 # split libdevmapper
46 rm -f $fs/usr/lib/libdevmapper*.so*
47 rm -f $fs/usr/sbin/dmsetup
48 }