wok view lvm2/receipt @ rev 20257

Add giflossy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:27:32 2018 +0100 (2018-03-13)
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 }