wok annotate lvm2/receipt @ rev 8280
Up: xfwm4 to 4.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 30 15:45:09 2011 +0000 (2011-01-30) |
parents | e7e5f2e7044b |
children | a315ac61204e |
rev | line source |
---|---|
pankso@3850 | 1 # SliTaz package receipt. |
pankso@3850 | 2 |
pankso@3850 | 3 PACKAGE="lvm2" |
pankso@3850 | 4 SOURCE="LVM2" |
slaxemulator@8146 | 5 VERSION="2.02.82" |
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 --prefix=/usr \ |
pankso@3850 | 21 --infodir=/usr/share/info \ |
pankso@3850 | 22 --mandir=/usr/share/man \ |
pankso@3850 | 23 --enable-cmdlib \ |
pankso@3850 | 24 --enable-dmeventd \ |
jozee@5042 | 25 --with-udevdir=/etc/udev/rules.d \ |
pankso@3850 | 26 $CONFIGURE_ARGS && |
pankso@3850 | 27 make && make DESTDIR=$PWD/_pkg install |
jozee@5042 | 28 cd $src/udev |
jozee@5042 | 29 make DESTDIR=$src/_pkg install |
pankso@3850 | 30 } |
pankso@3850 | 31 |
pankso@3850 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3850 | 33 genpkg_rules() |
pankso@3850 | 34 { |
jozee@5042 | 35 mkdir -p $fs/usr/lib $fs/etc |
jozee@5042 | 36 cp -a $_pkg/etc/udev $fs/etc |
pankso@3850 | 37 cp -a $_pkg/usr/sbin $fs/usr |
pankso@3850 | 38 cp -a $_pkg/usr/lib/* $fs/usr/lib |
jozee@5042 | 39 # split libdevmapper |
jozee@5042 | 40 rm -f $fs/usr/lib/libdevmapper*.so* |
jozee@5042 | 41 rm -f $fs/usr/sbin/dmsetup |
jozee@5042 | 42 |
pankso@3850 | 43 } |
pankso@3850 | 44 |
pankso@3850 | 45 |