wok-6.x view lvm2/receipt @ rev 8135

Replace openmotif by lesstif in libglw-mesa - openmotif is a non-free software
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Jan 25 02:37:38 2011 +0100 (2011-01-25)
parents 6c05202efacd
children e7e5f2e7044b
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.81"
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 old_src=$(echo "$src" | sed "s/-$VERSION/.$VERSION/")
19 mv $old_src $src
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --enable-cmdlib \
26 --enable-dmeventd \
27 --with-udevdir=/etc/udev/rules.d \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 cd $src/udev
31 make DESTDIR=$src/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/etc
38 cp -a $_pkg/etc/udev $fs/etc
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -a $_pkg/usr/lib/* $fs/usr/lib
41 # split libdevmapper
42 rm -f $fs/usr/lib/libdevmapper*.so*
43 rm -f $fs/usr/sbin/dmsetup
45 }