wok view lvm2/receipt @ rev 10417

texinfo: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 08:02:26 2011 +0000 (2011-05-24)
parents d1768332cee0
children 057729ecdde5
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.85"
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"
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 patch -Np1 -i $stuff/lvm2_hotfix_udevsync.patch
20 ./configure \
21 --enable-cmdlib \
22 --enable-dmeventd \
23 --with-udevdir=/etc/udev/rules.d \
24 $CONFIGURE_ARGS &&
25 make && make install
26 cd $src/udev
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/etc
34 cp -a $_pkg/etc/udev $fs/etc
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/lib/* $fs/usr/lib
37 # split libdevmapper
38 rm -f $fs/usr/lib/libdevmapper*.so*
39 rm -f $fs/usr/sbin/dmsetup
40 }