wok-6.x annotate libdevmapper/receipt @ rev 25507

plop: cleanup
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 11 10:36:59 2023 +0000 (21 months ago)
parents 74557c54a472
children
rev   line source
wcnagel@1031 1 # SliTaz package receipt.
wcnagel@1031 2
wcnagel@1031 3 PACKAGE="libdevmapper"
Hans-G?nter@24867 4 VERSION="2.03.15"
wcnagel@1031 5 CATEGORY="system-tools"
wcnagel@1031 6 SHORT_DESC="Linux device mapper library."
b1+slitaz@1802 7 MAINTAINER="b1+slitaz@nagel.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@24867 9 WEB_SITE="https://sourceware.org/dm/"
wcnagel@1031 10
pascal@15000 11 DEPENDS="readline udev"
Hans-G?nter@24867 12 WANTED="lvm2"
pascal@15000 13
wcnagel@1031 14 # Rules to gen a SliTaz package suitable for Tazpkg.
wcnagel@1031 15 genpkg_rules()
wcnagel@1031 16 {
Hans-G?nter@24867 17 mkdir -p $fs/usr/lib
Hans-G?nter@24867 18 mkdir -p $fs/lib
Hans-G?nter@24867 19 mkdir -p $fs/etc
Hans-G?nter@24867 20
Hans-G?nter@24867 21 cp -a $install/usr/lib/libdevmapper*.so* $fs/usr/lib
Hans-G?nter@24867 22 cp -a $install/usr/lib/liblvm2*.so* $fs/usr/lib
Hans-G?nter@24867 23 cp -a $install/lib/udev $fs/etc
wcnagel@1031 24 }
jozee@5055 25
jozee@5055 26 post_install()
jozee@5055 27 {
pascal@18730 28 tazpkg reconfigure udev --root="$1"
jozee@5055 29 }