wok-current view libdevmapper/receipt @ rev 5535

slitaz-loram-http: add tazlito/loram support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 12 14:10:24 2010 +0200 (2010-05-12)
parents 06c240988a31
children 03bc7b6d7b7c
line source
1 # SliTaz package receipt.
3 PACKAGE="libdevmapper"
4 VERSION="1.02.44"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux device mapper library."
7 MAINTAINER="b1+slitaz@nagel.org"
8 DEPENDS="readline"
9 TARBALL="device-mapper.$VERSION.tgz"
10 WEB_SITE="http://sourceware.org/dm/"
11 WANTED="lvm2"
12 WANTED_VERSION="2.02.61"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib $fs/usr/sbin $fs/etc
18 _pkg="$WOK/$WANTED/LVM2-$WANTED_VERSION/_pkg"
19 cp -a $_pkg/usr/lib/libdevmapper*.so* $fs/usr/lib
20 cp -a $_pkg/usr/sbin/dmsetup $fs/usr/sbin
21 cp -a $_pkg/etc/udev $fs/etc
23 }
25 post_install()
26 {
27 tazpkg reconfigure udev --root=$1
28 }