wok-next annotate lvm2/receipt @ rev 19240
Up nano (2.6.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 28 01:34:12 2016 +0300 (2016-06-28) |
parents | ce723c9c4c71 |
children | 0e8dadf052b9 |
rev | line source |
---|---|
pankso@3850 | 1 # SliTaz package receipt. |
pankso@3850 | 2 |
pankso@3850 | 3 PACKAGE="lvm2" |
pankso@3850 | 4 SOURCE="LVM2" |
domcox@15401 | 5 VERSION="2.02.98" |
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@15000 | 14 DEPENDS="readline linux-md libdevmapper ncurses" |
pascal@15000 | 15 BUILD_DEPENDS="readline-dev udev-dev ncurses-dev" |
pascal@15000 | 16 |
pankso@3850 | 17 # Rules to configure and make the package. |
pankso@3850 | 18 compile_rules() |
pankso@3850 | 19 { |
pankso@3850 | 20 cd $src |
pankso@3850 | 21 ./configure \ |
pankso@3850 | 22 --enable-cmdlib \ |
pankso@3850 | 23 --enable-dmeventd \ |
slaxemulator@12337 | 24 --with-udevdir=/lib/udev/rules.d \ |
slaxemulator@12337 | 25 --enable-udev_sync \ |
slaxemulator@12337 | 26 --enable-udev_rules \ |
slaxemulator@12337 | 27 --enable-cmdlib \ |
slaxemulator@12337 | 28 --enable-applib \ |
slaxemulator@12337 | 29 --enable-readline \ |
slaxemulator@12337 | 30 --enable-pkgconfig \ |
pankso@3850 | 31 $CONFIGURE_ARGS && |
slaxemulator@10181 | 32 make && make install |
jozee@5042 | 33 cd $src/udev |
slaxemulator@10181 | 34 make install |
pankso@3850 | 35 } |
pankso@3850 | 36 |
pankso@3850 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3850 | 38 genpkg_rules() |
pankso@3850 | 39 { |
slaxemulator@12337 | 40 mkdir -p $fs/usr/lib |
pascal@15000 | 41 cp -a $install/etc $fs |
pascal@15000 | 42 cp -a $install/usr/sbin $fs/usr |
pascal@15000 | 43 cp -a $install/usr/lib/* $fs/usr/lib |
jozee@5042 | 44 # split libdevmapper |
jozee@5042 | 45 rm -f $fs/usr/lib/libdevmapper*.so* |
jozee@5042 | 46 rm -f $fs/usr/sbin/dmsetup |
domcox@15400 | 47 } |