wok annotate lvm2/receipt @ rev 21754

Up firefox-official (67.0.3), tinyproxy (1.10.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 19 17:26:14 2019 +0200 (2019-06-19)
parents 406a87d6dbd2
children 1aa68395bb51
rev   line source
pankso@3850 1 # SliTaz package receipt.
pankso@3850 2
pankso@3850 3 PACKAGE="lvm2"
pankso@3850 4 SOURCE="LVM2"
pascal@20692 5 VERSION="2.02.183"
pankso@3850 6 CATEGORY="system-tools"
pankso@3850 7 SHORT_DESC="Linux Logical Volume Manager."
pankso@3850 8 MAINTAINER="guillaume.michon@laposte.net"
pascal@15000 9 LICENSE="GPL2"
pankso@3850 10 TARBALL="$SOURCE.$VERSION.tgz"
pankso@3850 11 WEB_SITE="http://sourceware.org/lvm2/"
pankso@3850 12 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
pankso@3850 13
pascal@20441 14 DEPENDS="readline linux-md libdevmapper ncurses libaio"
pascal@20441 15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev libaio-dev \
pascal@20441 16 coreutils-file-format"
pascal@15000 17
pankso@3850 18 # Rules to configure and make the package.
pankso@3850 19 compile_rules()
pankso@3850 20 {
pascal@20441 21 find * -type d -exec ln -s ../autoconf {} \;
pankso@3850 22 ./configure \
pankso@3850 23 --enable-cmdlib \
pankso@3850 24 --enable-dmeventd \
slaxemulator@12337 25 --with-udevdir=/lib/udev/rules.d \
slaxemulator@12337 26 --enable-udev_sync \
slaxemulator@12337 27 --enable-udev_rules \
slaxemulator@12337 28 --enable-cmdlib \
slaxemulator@12337 29 --enable-applib \
slaxemulator@12337 30 --enable-readline \
slaxemulator@12337 31 --enable-pkgconfig \
pankso@3850 32 $CONFIGURE_ARGS &&
slaxemulator@10181 33 make && make install
jozee@5042 34 cd $src/udev
slaxemulator@10181 35 make install
pankso@3850 36 }
pankso@3850 37
pankso@3850 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3850 39 genpkg_rules()
pankso@3850 40 {
slaxemulator@12337 41 mkdir -p $fs/usr/lib
pascal@15000 42 cp -a $install/etc $fs
pascal@15000 43 cp -a $install/usr/sbin $fs/usr
pascal@15000 44 cp -a $install/usr/lib/* $fs/usr/lib
jozee@5042 45 # split libdevmapper
jozee@5042 46 rm -f $fs/usr/lib/libdevmapper*.so*
jozee@5042 47 rm -f $fs/usr/sbin/dmsetup
domcox@15400 48 }