wok annotate libdevmapper/receipt @ rev 6072
Add puzzles (again)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Aug 24 10:04:50 2010 +0200 (2010-08-24) |
parents | 06c240988a31 |
children | 03bc7b6d7b7c |
rev | line source |
---|---|
wcnagel@1031 | 1 # SliTaz package receipt. |
wcnagel@1031 | 2 |
wcnagel@1031 | 3 PACKAGE="libdevmapper" |
jozee@5042 | 4 VERSION="1.02.44" |
wcnagel@1031 | 5 CATEGORY="system-tools" |
wcnagel@1031 | 6 SHORT_DESC="Linux device mapper library." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
jozee@5050 | 8 DEPENDS="readline" |
wcnagel@1031 | 9 TARBALL="device-mapper.$VERSION.tgz" |
wcnagel@1031 | 10 WEB_SITE="http://sourceware.org/dm/" |
jozee@5042 | 11 WANTED="lvm2" |
jozee@5042 | 12 WANTED_VERSION="2.02.61" |
wcnagel@1031 | 13 |
wcnagel@1031 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1031 | 15 genpkg_rules() |
wcnagel@1031 | 16 { |
jozee@5042 | 17 mkdir -p $fs/usr/lib $fs/usr/sbin $fs/etc |
jozee@5042 | 18 _pkg="$WOK/$WANTED/LVM2-$WANTED_VERSION/_pkg" |
jozee@5042 | 19 cp -a $_pkg/usr/lib/libdevmapper*.so* $fs/usr/lib |
jozee@5042 | 20 cp -a $_pkg/usr/sbin/dmsetup $fs/usr/sbin |
jozee@5042 | 21 cp -a $_pkg/etc/udev $fs/etc |
jozee@5042 | 22 |
wcnagel@1031 | 23 } |
jozee@5055 | 24 |
jozee@5055 | 25 post_install() |
jozee@5055 | 26 { |
jozee@5055 | 27 tazpkg reconfigure udev --root=$1 |
jozee@5055 | 28 } |