wok-6.x view util-linux-blkid/receipt @ rev 14283

Add perl-fuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:49:36 2013 +0200 (2013-04-06)
parents 73641efed1cc
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="util-linux-blkid"
4 VERSION="2.21.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-uuid"
9 WANTED="util-linux"
10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
11 HOST_ARCH="i486 arm"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/lib $fs/sbin $fs/bin $fs/usr/lib
17 cp -a $install/sbin/blkid $fs/sbin
18 cp -a $install/bin/lsblk $fs/bin
19 cp -a $install/lib/libblkid.so* $fs/lib
20 cp -a $install/usr/lib/libblkid.so* $fs/usr/lib
21 }
23 # Remove old package
24 post_install()
25 {
26 if [ -d "$INSTALLED/util-linux-ng-blkid" ]; then
27 echo "Removing old: util-linux-ng-blkid"
28 rm -rf $INSTALLED/util-linux-ng-blkid
29 fi
30 }
32 # Overlap busybox
33 pre_install()
34 {
35 rm -f $root/sbin/blkid
36 }
38 post_remove()
39 {
40 cd $root/sbin
41 ln -s ../bin/busybox blkid
42 }