wok annotate util-linux-ng-blkid/receipt @ rev 9531
Up: gtkmm to 2.24.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 07 23:25:06 2011 +0000 (2011-04-07) |
parents | 9dee63b88e27 |
children | 163676c61a63 |
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 WANTED="util-linux-ng" |
pankso@3104 | 10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/" |
pankso@3104 | 11 |
pankso@3104 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3104 | 13 genpkg_rules() |
pankso@3104 | 14 { |
pankso@4049 | 15 mkdir -p $fs/lib $fs/sbin $fs/usr/lib |
pankso@3104 | 16 cp -a $_pkg/sbin/blkid $fs/sbin |
pankso@3104 | 17 cp -a $_pkg/lib/libblkid.so* $fs/lib |
pankso@4049 | 18 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib |
pankso@3104 | 19 } |
pascal@8879 | 20 |
pascal@8879 | 21 # Overlap busybox |
pascal@8879 | 22 pre_install() |
pascal@8879 | 23 { |
pascal@8879 | 24 rm -f $1/sbin/blkid |
pascal@8879 | 25 } |
pascal@8879 | 26 |
pascal@8879 | 27 post_remove() |
pascal@8879 | 28 { |
pascal@8879 | 29 ln -s /bin/busybox /sbin/blkid |
pascal@8879 | 30 } |