wok annotate lvm2/receipt @ rev 11924
Up: squiduardmgr (1.6)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 01:12:35 2012 +0100 (2012-03-01) |
parents | 7b91aff63be9 |
children | afe892236366 |
rev | line source |
---|---|
pankso@3850 | 1 # SliTaz package receipt. |
pankso@3850 | 2 |
pankso@3850 | 3 PACKAGE="lvm2" |
pankso@3850 | 4 SOURCE="LVM2" |
slaxemulator@11023 | 5 VERSION="2.02.88" |
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" |
pankso@3850 | 10 BUILD_DEPENDS="readline-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 \ |
jozee@5042 | 22 --with-udevdir=/etc/udev/rules.d \ |
pankso@3850 | 23 $CONFIGURE_ARGS && |
slaxemulator@10181 | 24 make && make install |
jozee@5042 | 25 cd $src/udev |
slaxemulator@10181 | 26 make install |
pankso@3850 | 27 } |
pankso@3850 | 28 |
pankso@3850 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3850 | 30 genpkg_rules() |
pankso@3850 | 31 { |
jozee@5042 | 32 mkdir -p $fs/usr/lib $fs/etc |
jozee@5042 | 33 cp -a $_pkg/etc/udev $fs/etc |
pankso@3850 | 34 cp -a $_pkg/usr/sbin $fs/usr |
pankso@3850 | 35 cp -a $_pkg/usr/lib/* $fs/usr/lib |
jozee@5042 | 36 # split libdevmapper |
jozee@5042 | 37 rm -f $fs/usr/lib/libdevmapper*.so* |
jozee@5042 | 38 rm -f $fs/usr/sbin/dmsetup |
slaxemulator@10181 | 39 } |