wok view libdevmapper/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents d7cf110f32be
children 7740cc200934
line source
1 # SliTaz package receipt.
3 PACKAGE="libdevmapper"
4 VERSION="2.02.98"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux device mapper library."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://sourceware.org/dm/"
10 WANTED="lvm2"
12 DEPENDS="readline udev"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib $fs/lib $fs/etc
18 cp -a $install/usr/lib/libdevmapper*.so* $fs/usr/lib
19 cp -a $install/usr/lib/liblvm2*.so* $fs/usr/lib
20 cp -a $install/lib/udev $fs/etc
21 }
23 post_install()
24 {
25 tazpkg reconfigure udev --root="$1"
26 }