wok-4.x annotate lvm2/receipt @ rev 3960
Fix: lxpanel receipt and rm dep on lxmenu-data (use slitaz-menus)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Aug 26 01:09:36 2009 +0200 (2009-08-26) |
parents | |
children | 8752c40cc534 |
rev | line source |
---|---|
pankso@3850 | 1 # SliTaz package receipt. |
pankso@3850 | 2 |
pankso@3850 | 3 PACKAGE="lvm2" |
pankso@3850 | 4 SOURCE="LVM2" |
pankso@3850 | 5 VERSION="2.02.51" |
pankso@3850 | 6 CATEGORY="system-tools" |
pankso@3850 | 7 SHORT_DESC="Linux Logical Volume Manager." |
pankso@3850 | 8 MAINTAINER="guillaume.michon@laposte.net" |
pankso@3850 | 9 DEPENDS="readline linux-md libdevmapper" |
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 old_src=$(echo "$src" | sed "s/-$VERSION/.$VERSION/") |
pankso@3850 | 19 mv $old_src $src |
pankso@3850 | 20 cd $src |
pankso@3850 | 21 ./configure \ |
pankso@3850 | 22 --prefix=/usr \ |
pankso@3850 | 23 --infodir=/usr/share/info \ |
pankso@3850 | 24 --mandir=/usr/share/man \ |
pankso@3850 | 25 --enable-cmdlib \ |
pankso@3850 | 26 --enable-dmeventd \ |
pankso@3850 | 27 $CONFIGURE_ARGS && |
pankso@3850 | 28 make && make DESTDIR=$PWD/_pkg install |
pankso@3850 | 29 } |
pankso@3850 | 30 |
pankso@3850 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3850 | 32 genpkg_rules() |
pankso@3850 | 33 { |
pankso@3850 | 34 mkdir -p $fs/usr/lib |
pankso@3850 | 35 cp -a $_pkg/etc $fs |
pankso@3850 | 36 cp -a $_pkg/usr/sbin $fs/usr |
pankso@3850 | 37 cp -a $_pkg/usr/lib/* $fs/usr/lib |
pankso@3850 | 38 rm $fs/usr/lib/libdevmapper.so* |
pankso@3850 | 39 } |
pankso@3850 | 40 |
pankso@3850 | 41 |