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

Back to 23.3. Broken build on BB, although it's ok in my chrooted env
author Dominique Corbex <domcox@slitaz.org>
date Mon Feb 20 17:53:47 2012 +0100 (2012-02-20)
parents edf212a8db46
children
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-ng-blkid"
4 VERSION="2.19.1"
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 }