wok-4.x view util-linux-ng-blkid/receipt @ rev 9723
zsh: clean up
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 09 05:26:46 2011 +0000 (2011-05-09) |
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 }