wok annotate lvm2/receipt @ rev 23515

busybox: musl & diet may fail (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 12:11:08 2020 +0200 (2020-04-06)
parents 2d4c3cc3ef95
children 3e9a9990c985
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"
Hans-G?nter@23148 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
pankso@3850 19 # Rules to configure and make the package.
pankso@3850 20 compile_rules()
pankso@3850 21 {
pascal@20441 22 find * -type d -exec ln -s ../autoconf {} \;
Hans-G?nter@23148 23
Hans-G?nter@23148 24 # 2.03.08 unrecognised:
Hans-G?nter@23148 25 # --enable-applib
Hans-G?nter@23148 26
Hans-G?nter@23148 27 ./configure \
Hans-G?nter@23148 28 --enable-cmdlib \
Hans-G?nter@23148 29 --enable-dmeventd \
Hans-G?nter@23148 30 --with-udevdir=/lib/udev/rules.d \
Hans-G?nter@23148 31 --enable-udev_sync \
Hans-G?nter@23148 32 --enable-udev_rules \
Hans-G?nter@23148 33 --enable-cmdlib \
Hans-G?nter@23148 34 --enable-readline \
Hans-G?nter@23148 35 --enable-pkgconfig \
pankso@3850 36 $CONFIGURE_ARGS &&
Hans-G?nter@23148 37 make &&
Hans-G?nter@23148 38 make install &&
Hans-G?nter@23148 39 cd $src/udev &&
slaxemulator@10181 40 make install
pankso@3850 41 }
pankso@3850 42
pankso@3850 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3850 44 genpkg_rules()
pankso@3850 45 {
slaxemulator@12337 46 mkdir -p $fs/usr/lib
Hans-G?nter@23148 47
Hans-G?nter@23148 48 cp -a $install/etc $fs
Hans-G?nter@23148 49 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23148 50 cp -a $install/usr/lib/* $fs/usr/lib
Hans-G?nter@23148 51
jozee@5042 52 # split libdevmapper
Hans-G?nter@23148 53 rm -f $fs/usr/lib/libdevmapper*.so*
Hans-G?nter@23148 54 rm -f $fs/usr/sbin/dmsetup
domcox@15400 55 }