wok annotate lvm2/receipt @ rev 24277
updated python-http-parser (0.8.3 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 06 07:57:35 2022 +0100 (2022-01-06) |
parents | 1aa68395bb51 |
children | 2f97ce3121ff |
rev | line source |
---|---|
pankso@3850 | 1 # SliTaz package receipt. |
pankso@3850 | 2 |
pankso@3850 | 3 PACKAGE="lvm2" |
Hans-G?nter@23148 | 4 VERSION="2.03.08" |
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" |
pascal@24076 | 13 WGET_URL="http://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 |
pascal@24076 | 19 current_version() |
pascal@24076 | 20 { |
pascal@24076 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24076 | 22 sed "/$SOURCE.[0-9]/!d;s|.*$SOURCE.\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q |
pascal@24076 | 23 } |
pascal@24076 | 24 |
pankso@3850 | 25 # Rules to configure and make the package. |
pankso@3850 | 26 compile_rules() |
pankso@3850 | 27 { |
pascal@20441 | 28 find * -type d -exec ln -s ../autoconf {} \; |
Hans-G?nter@23148 | 29 |
Hans-G?nter@23148 | 30 # 2.03.08 unrecognised: |
Hans-G?nter@23148 | 31 # --enable-applib |
Hans-G?nter@23148 | 32 |
Hans-G?nter@23148 | 33 ./configure \ |
Hans-G?nter@23148 | 34 --enable-cmdlib \ |
Hans-G?nter@23148 | 35 --enable-dmeventd \ |
Hans-G?nter@23148 | 36 --with-udevdir=/lib/udev/rules.d \ |
Hans-G?nter@23148 | 37 --enable-udev_sync \ |
Hans-G?nter@23148 | 38 --enable-udev_rules \ |
Hans-G?nter@23148 | 39 --enable-cmdlib \ |
Hans-G?nter@23148 | 40 --enable-readline \ |
Hans-G?nter@23148 | 41 --enable-pkgconfig \ |
pankso@3850 | 42 $CONFIGURE_ARGS && |
Hans-G?nter@23148 | 43 make && |
Hans-G?nter@23148 | 44 make install && |
Hans-G?nter@23148 | 45 cd $src/udev && |
slaxemulator@10181 | 46 make install |
pankso@3850 | 47 } |
pankso@3850 | 48 |
pankso@3850 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3850 | 50 genpkg_rules() |
pankso@3850 | 51 { |
slaxemulator@12337 | 52 mkdir -p $fs/usr/lib |
Hans-G?nter@23148 | 53 |
Hans-G?nter@23148 | 54 cp -a $install/etc $fs |
Hans-G?nter@23148 | 55 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23148 | 56 cp -a $install/usr/lib/* $fs/usr/lib |
Hans-G?nter@23148 | 57 |
jozee@5042 | 58 # split libdevmapper |
Hans-G?nter@23148 | 59 rm -f $fs/usr/lib/libdevmapper*.so* |
Hans-G?nter@23148 | 60 rm -f $fs/usr/sbin/dmsetup |
domcox@15400 | 61 } |