wok view lvm2/receipt @ rev 24226
updated perl-io-tty (1.14 -> 1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 17:52:39 2021 +0100 (2021-12-31) |
parents | 1aa68395bb51 |
children | 2f97ce3121ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvm2"
4 VERSION="2.03.08"
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="http://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 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 find * -type d -exec ln -s ../autoconf {} \;
30 # 2.03.08 unrecognised:
31 # --enable-applib
33 ./configure \
34 --enable-cmdlib \
35 --enable-dmeventd \
36 --with-udevdir=/lib/udev/rules.d \
37 --enable-udev_sync \
38 --enable-udev_rules \
39 --enable-cmdlib \
40 --enable-readline \
41 --enable-pkgconfig \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install &&
45 cd $src/udev &&
46 make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
54 cp -a $install/etc $fs
55 cp -a $install/usr/sbin $fs/usr
56 cp -a $install/usr/lib/* $fs/usr/lib
58 # split libdevmapper
59 rm -f $fs/usr/lib/libdevmapper*.so*
60 rm -f $fs/usr/sbin/dmsetup
61 }