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

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 3e9a9990c985
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 # @maintainer: Please update also libdevmapper and libdevmapper-dev
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 find * -type d -exec ln -s ../autoconf {} \;
32 # 2.03.08 unrecognised:
33 # --enable-applib
35 ./configure \
36 --enable-cmdlib \
37 --enable-dmeventd \
38 --with-udevdir=/lib/udev/rules.d \
39 --enable-udev_sync \
40 --enable-udev_rules \
41 --enable-cmdlib \
42 --enable-readline \
43 --enable-pkgconfig \
44 $CONFIGURE_ARGS &&
45 make &&
46 make install &&
47 cd $src/udev &&
48 make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib
56 cp -a $install/etc $fs
57 cp -a $install/usr/sbin $fs/usr
58 cp -a $install/usr/lib/* $fs/usr/lib
60 # split libdevmapper
61 rm -f $fs/usr/lib/libdevmapper*.so*
62 rm -f $fs/usr/sbin/dmsetup
63 }