wok view lvm2/receipt @ rev 9872

Up: slitaz-boot-scripts (4.3)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 23:21:18 2011 +0200 (2011-05-16)
parents 8b07f593f3ff
children 7b91aff63be9
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.84"
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 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --enable-cmdlib \
25 --enable-dmeventd \
26 --with-udevdir=/etc/udev/rules.d \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 cd $src/udev
30 make DESTDIR=$src/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/etc
37 cp -a $_pkg/etc/udev $fs/etc
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/lib/* $fs/usr/lib
40 # split libdevmapper
41 rm -f $fs/usr/lib/libdevmapper*.so*
42 rm -f $fs/usr/sbin/dmsetup
44 }