wok view lvm2/receipt @ rev 11578
Compat: fix krb5 to build with tazwok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | 7b91aff63be9 |
children | afe892236366 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.88"
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 ./configure \
20 --enable-cmdlib \
21 --enable-dmeventd \
22 --with-udevdir=/etc/udev/rules.d \
23 $CONFIGURE_ARGS &&
24 make && make install
25 cd $src/udev
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/etc
33 cp -a $_pkg/etc/udev $fs/etc
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/* $fs/usr/lib
36 # split libdevmapper
37 rm -f $fs/usr/lib/libdevmapper*.so*
38 rm -f $fs/usr/sbin/dmsetup
39 }