wok-current view lvm2/receipt @ rev 17448

Add Qcad 2D CAD application
author Christophe Lincoln <pankso@slitaz.org>
date Sun Dec 14 10:13:18 2014 +0100 (2014-12-14)
parents ce723c9c4c71
children 7740cc200934
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 SOURCE="LVM2"
5 VERSION="2.02.98"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux Logical Volume Manager."
8 MAINTAINER="guillaume.michon@laposte.net"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE.$VERSION.tgz"
11 WEB_SITE="http://sourceware.org/lvm2/"
12 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
14 DEPENDS="readline linux-md libdevmapper ncurses"
15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --enable-cmdlib \
23 --enable-dmeventd \
24 --with-udevdir=/lib/udev/rules.d \
25 --enable-udev_sync \
26 --enable-udev_rules \
27 --enable-cmdlib \
28 --enable-applib \
29 --enable-readline \
30 --enable-pkgconfig \
31 $CONFIGURE_ARGS &&
32 make && make install
33 cd $src/udev
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/etc $fs
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/* $fs/usr/lib
44 # split libdevmapper
45 rm -f $fs/usr/lib/libdevmapper*.so*
46 rm -f $fs/usr/sbin/dmsetup
47 }