wok-current annotate util-linux-ng-blkid/receipt @ rev 8879
udhcpc6-fake, util-linux-ng-blkid, xz: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:43:15 2011 +0100 (2011-02-27) |
parents | 78988bd0500a |
children | edf212a8db46 |
rev | line source |
---|---|
pankso@3104 | 1 # SliTaz package receipt. |
pankso@3104 | 2 |
pankso@3104 | 3 PACKAGE="util-linux-ng-blkid" |
slaxemulator@8543 | 4 VERSION="2.19" |
pankso@3104 | 5 CATEGORY="base-system" |
pankso@3104 | 6 SHORT_DESC="The blkid utility and library from Util linux NG." |
pankso@3104 | 7 MAINTAINER="pankso@slitaz.org" |
erjo@4391 | 8 DEPENDS="glibc-base util-linux-ng-uuid" |
pankso@3104 | 9 BUILD_DEPENDS="slitaz-toolchain" |
pankso@3104 | 10 WANTED="util-linux-ng" |
pankso@3104 | 11 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" |
pankso@3104 | 12 |
pankso@3104 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3104 | 14 genpkg_rules() |
pankso@3104 | 15 { |
pankso@4049 | 16 mkdir -p $fs/lib $fs/sbin $fs/usr/lib |
pankso@3104 | 17 cp -a $_pkg/sbin/blkid $fs/sbin |
pankso@3104 | 18 cp -a $_pkg/lib/libblkid.so* $fs/lib |
pankso@4049 | 19 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib |
pankso@3104 | 20 } |
pascal@8879 | 21 |
pascal@8879 | 22 # Overlap busybox |
pascal@8879 | 23 pre_install() |
pascal@8879 | 24 { |
pascal@8879 | 25 rm -f $1/sbin/blkid |
pascal@8879 | 26 } |
pascal@8879 | 27 |
pascal@8879 | 28 post_remove() |
pascal@8879 | 29 { |
pascal@8879 | 30 ln -s /bin/busybox /sbin/blkid |
pascal@8879 | 31 } |