wok-current view util-linux-ng-blkid/receipt @ rev 9660

make: use cleaner var order
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 01 08:12:04 2011 +0200 (2011-05-01)
parents 9dee63b88e27
children 163676c61a63
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-blkid"
4 VERSION="2.19"
5 CATEGORY="base-system"
6 SHORT_DESC="The blkid utility and library from Util linux NG."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base util-linux-ng-uuid"
9 WANTED="util-linux-ng"
10 WEB_SITE="http://kernel.org/~kzak/util-linux-ng/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/lib $fs/sbin $fs/usr/lib
16 cp -a $_pkg/sbin/blkid $fs/sbin
17 cp -a $_pkg/lib/libblkid.so* $fs/lib
18 cp -a $_pkg/usr/lib/libblkid.so* $fs/usr/lib
19 }
21 # Overlap busybox
22 pre_install()
23 {
24 rm -f $1/sbin/blkid
25 }
27 post_remove()
28 {
29 ln -s /bin/busybox /sbin/blkid
30 }