wok view lvm2/receipt @ rev 25606

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 11:40:29 2023 +0000 (16 months ago)
parents 2f97ce3121ff
children d79ed38ace18
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 # @maintainer: Please update also libdevmapper and libdevmapper-dev
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
25 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 find * -type d -exec ln -s ../autoconf {} \;
33 # 2.03.08 unrecognised:
34 # --enable-applib
36 ./configure \
37 --enable-cmdlib \
38 --enable-dmeventd \
39 --with-udevdir=/lib/udev/rules.d \
40 --enable-udev_sync \
41 --enable-udev_rules \
42 --enable-cmdlib \
43 --enable-readline \
44 --enable-pkgconfig \
45 $CONFIGURE_ARGS &&
46 make &&
47 make install &&
48 cd $src/udev &&
49 make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
57 cp -a $install/etc $fs
58 cp -a $install/usr/sbin $fs/usr
59 cp -a $install/usr/lib/* $fs/usr/lib
61 # split libdevmapper
62 rm -f $fs/usr/lib/libdevmapper*.so*
63 rm -f $fs/usr/sbin/dmsetup
64 }