wok-next view util-linux-ng-blkid/receipt @ rev 9066

dahdi-linux: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 13:34:20 2011 +0100 (2011-03-04)
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 }