wok-current view lvm2/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (8 days ago) |
parents | 2f97ce3121ff |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 VERSION="2.03.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux Logical Volume Manager."
7 MAINTAINER="guillaume.michon@laposte.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceware.org/lvm2/"
11 SOURCE="LVM2"
12 TARBALL="$SOURCE.$VERSION.tgz"
13 WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL"
15 DEPENDS="libaio libdevmapper linux-md ncurses readline"
16 BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev
17 udev-dev"
19 HOST_ARCH="i486 x86_64"
21 # @maintainer: Please update also libdevmapper and libdevmapper-dev
23 current_version()
24 {
25 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
26 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 find * -type d -exec ln -s ../autoconf {} \;
34 # 2.03.08 unrecognised:
35 # --enable-applib
37 ./configure \
38 --enable-cmdlib \
39 --enable-dmeventd \
40 --with-udevdir=/lib/udev/rules.d \
41 --enable-udev_sync \
42 --enable-udev_rules \
43 --enable-cmdlib \
44 --enable-readline \
45 --enable-pkgconfig \
46 $CONFIGURE_ARGS &&
47 make &&
48 make install &&
49 cd $src/udev &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib
58 cp -a $install/etc $fs
59 cp -a $install/usr/sbin $fs/usr
60 cp -a $install/usr/lib/* $fs/usr/lib
62 # split libdevmapper
63 rm -f $fs/usr/lib/libdevmapper*.so*
64 rm -f $fs/usr/sbin/dmsetup
65 }