wok-6.x view lvm2/receipt @ rev 8335
tazpkg now depends on libtaz
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 02 00:58:48 2011 +0100 (2011-02-02) |
parents | e7e5f2e7044b |
children | a315ac61204e |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.82"
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 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --enable-cmdlib \
24 --enable-dmeventd \
25 --with-udevdir=/etc/udev/rules.d \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 cd $src/udev
29 make DESTDIR=$src/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/etc
36 cp -a $_pkg/etc/udev $fs/etc
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/lib/* $fs/usr/lib
39 # split libdevmapper
40 rm -f $fs/usr/lib/libdevmapper*.so*
41 rm -f $fs/usr/sbin/dmsetup
43 }