wok-current view lvm2/receipt @ rev 15274

mingw32-gcc: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 16:27:31 2013 +0000 (2013-09-25)
parents afe892236366
children ce723c9c4c71
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.95"
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"
15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-cmdlib \
23 --enable-dmeventd \
24 --with-udevdir=/lib/udev/rules.d \
25 --enable-udev_sync \
26 --enable-udev_rules \
27 --enable-cmdlib \
28 --enable-applib \
29 --enable-readline \
30 --enable-pkgconfig \
31 $CONFIGURE_ARGS &&
32 make && make install
33 cd $src/udev
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/etc $fs
42 cp -a $install/lib/udev $fs/lib
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 }