wok annotate lvm2/receipt @ rev 14663

ecore: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:02 2013 +0200 (2013-06-06)
parents 057729ecdde5
children 380ffe05937a
rev   line source
pankso@3850 1 # SliTaz package receipt.
pankso@3850 2
pankso@3850 3 PACKAGE="lvm2"
pankso@3850 4 SOURCE="LVM2"
slaxemulator@12337 5 VERSION="2.02.95"
pankso@3850 6 CATEGORY="system-tools"
pankso@3850 7 SHORT_DESC="Linux Logical Volume Manager."
pankso@3850 8 MAINTAINER="guillaume.michon@laposte.net"
pascal@7843 9 DEPENDS="readline linux-md libdevmapper ncurses"
slaxemulator@12337 10 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev"
pankso@3850 11 TARBALL="$SOURCE.$VERSION.tgz"
pankso@3850 12 WEB_SITE="http://sourceware.org/lvm2/"
pankso@3850 13 WGET_URL="ftp://sources.redhat.com/pub/lvm2/$TARBALL"
pankso@3850 14
pankso@3850 15 # Rules to configure and make the package.
pankso@3850 16 compile_rules()
pankso@3850 17 {
pankso@3850 18 cd $src
pankso@3850 19 ./configure \
pankso@3850 20 --enable-cmdlib \
pankso@3850 21 --enable-dmeventd \
slaxemulator@12337 22 --with-udevdir=/lib/udev/rules.d \
slaxemulator@12337 23 --enable-udev_sync \
slaxemulator@12337 24 --enable-udev_rules \
slaxemulator@12337 25 --enable-cmdlib \
slaxemulator@12337 26 --enable-applib \
slaxemulator@12337 27 --enable-readline \
slaxemulator@12337 28 --enable-pkgconfig \
pankso@3850 29 $CONFIGURE_ARGS &&
slaxemulator@10181 30 make && make install
jozee@5042 31 cd $src/udev
slaxemulator@10181 32 make install
pankso@3850 33 }
pankso@3850 34
pankso@3850 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3850 36 genpkg_rules()
pankso@3850 37 {
slaxemulator@12337 38 mkdir -p $fs/usr/lib
slaxemulator@12337 39 cp -a $_pkg/etc $fs
slaxemulator@12337 40 cp -a $_pkg/lib/udev $fs/lib
pankso@3850 41 cp -a $_pkg/usr/sbin $fs/usr
pankso@3850 42 cp -a $_pkg/usr/lib/* $fs/usr/lib
jozee@5042 43 # split libdevmapper
jozee@5042 44 rm -f $fs/usr/lib/libdevmapper*.so*
jozee@5042 45 rm -f $fs/usr/sbin/dmsetup
slaxemulator@10181 46 }