wok annotate lvm2/receipt @ rev 25538

get-java8-jre: get version 8u361 by default
author Hans-G?nter Theisgen
date Fri Mar 03 17:41:58 2023 +0100 (21 months ago)
parents 3e9a9990c985
children d3556b8f5c3d
rev   line source
pankso@3850 1 # SliTaz package receipt.
pankso@3850 2
pankso@3850 3 PACKAGE="lvm2"
Hans-G?nter@24867 4 VERSION="2.03.15"
pankso@3850 5 CATEGORY="system-tools"
pankso@3850 6 SHORT_DESC="Linux Logical Volume Manager."
pankso@3850 7 MAINTAINER="guillaume.michon@laposte.net"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@23148 9 WEB_SITE="https://sourceware.org/lvm2/"
Hans-G?nter@23148 10
Hans-G?nter@23148 11 SOURCE="LVM2"
pankso@3850 12 TARBALL="$SOURCE.$VERSION.tgz"
Hans-G?nter@24867 13 WGET_URL="ftp://sourceware.org/pub/lvm2/old/$TARBALL"
pankso@3850 14
Hans-G?nter@23148 15 DEPENDS="libaio libdevmapper linux-md ncurses readline"
Hans-G?nter@23148 16 BUILD_DEPENDS="coreutils-file-format libaio-dev ncurses-dev readline-dev
Hans-G?nter@23148 17 udev-dev"
pascal@15000 18
Hans-G?nter@24867 19 # @maintainer: Please update also libdevmapper and libdevmapper-dev
Hans-G?nter@24867 20
pascal@24076 21 current_version()
pascal@24076 22 {
pascal@24076 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24076 24 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
pascal@24076 25 }
pascal@24076 26
pankso@3850 27 # Rules to configure and make the package.
pankso@3850 28 compile_rules()
pankso@3850 29 {
pascal@20441 30 find * -type d -exec ln -s ../autoconf {} \;
Hans-G?nter@23148 31
Hans-G?nter@23148 32 # 2.03.08 unrecognised:
Hans-G?nter@23148 33 # --enable-applib
Hans-G?nter@23148 34
Hans-G?nter@23148 35 ./configure \
Hans-G?nter@23148 36 --enable-cmdlib \
Hans-G?nter@23148 37 --enable-dmeventd \
Hans-G?nter@23148 38 --with-udevdir=/lib/udev/rules.d \
Hans-G?nter@23148 39 --enable-udev_sync \
Hans-G?nter@23148 40 --enable-udev_rules \
Hans-G?nter@23148 41 --enable-cmdlib \
Hans-G?nter@23148 42 --enable-readline \
Hans-G?nter@23148 43 --enable-pkgconfig \
pankso@3850 44 $CONFIGURE_ARGS &&
Hans-G?nter@23148 45 make &&
Hans-G?nter@23148 46 make install &&
Hans-G?nter@23148 47 cd $src/udev &&
slaxemulator@10181 48 make install
pankso@3850 49 }
pankso@3850 50
pankso@3850 51 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3850 52 genpkg_rules()
pankso@3850 53 {
slaxemulator@12337 54 mkdir -p $fs/usr/lib
Hans-G?nter@23148 55
Hans-G?nter@23148 56 cp -a $install/etc $fs
Hans-G?nter@23148 57 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23148 58 cp -a $install/usr/lib/* $fs/usr/lib
Hans-G?nter@23148 59
jozee@5042 60 # split libdevmapper
Hans-G?nter@23148 61 rm -f $fs/usr/lib/libdevmapper*.so*
Hans-G?nter@23148 62 rm -f $fs/usr/sbin/dmsetup
domcox@15400 63 }