wok-next view lvm2/receipt @ rev 14106

Up: libwekkit-dev (1.8.3)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 24 09:16:13 2013 +0100 (2013-02-24)
parents 057729ecdde5
children 380ffe05937a
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 DEPENDS="readline linux-md libdevmapper ncurses"
10 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev"
11 TARBALL="$SOURCE.$VERSION.tgz"
12 WEB_SITE="http://sourceware.org/lvm2/"
13 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-cmdlib \
21 --enable-dmeventd \
22 --with-udevdir=/lib/udev/rules.d \
23 --enable-udev_sync \
24 --enable-udev_rules \
25 --enable-cmdlib \
26 --enable-applib \
27 --enable-readline \
28 --enable-pkgconfig \
29 $CONFIGURE_ARGS &&
30 make && make install
31 cd $src/udev
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/etc $fs
40 cp -a $_pkg/lib/udev $fs/lib
41 cp -a $_pkg/usr/sbin $fs/usr
42 cp -a $_pkg/usr/lib/* $fs/usr/lib
43 # split libdevmapper
44 rm -f $fs/usr/lib/libdevmapper*.so*
45 rm -f $fs/usr/sbin/dmsetup
46 }