wok diff util-linux-blkid/receipt @ rev 14210
Up: firefox (17.0.4esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 16 21:28:06 2013 +0100 (2013-03-16) |
parents | 73641efed1cc |
children | 380ffe05937a |
line diff
1.1 --- a/util-linux-blkid/receipt Mon Apr 23 16:30:27 2012 +0200 1.2 +++ b/util-linux-blkid/receipt Sat Mar 16 21:28:06 2013 +0100 1.3 @@ -8,6 +8,7 @@ 1.4 DEPENDS="glibc-base util-linux-uuid" 1.5 WANTED="util-linux" 1.6 WEB_SITE="http://kernel.org/~kzak/util-linux/" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 # Rules to gen a SliTaz package suitable for Tazpkg. 1.10 genpkg_rules() 1.11 @@ -22,20 +23,20 @@ 1.12 # Remove old package 1.13 post_install() 1.14 { 1.15 - if [ -d "/var/lib/tazpkg/installed/util-linux-ng-blkid" ]; then 1.16 + if [ -d "$INSTALLED/util-linux-ng-blkid" ]; then 1.17 echo "Removing old: util-linux-ng-blkid" 1.18 - yes | tazpkg -r util-linux-ng-blkid 1.19 + rm -rf $INSTALLED/util-linux-ng-blkid 1.20 fi 1.21 } 1.22 1.23 # Overlap busybox 1.24 pre_install() 1.25 { 1.26 - [ -d "$INSTALLED/util-linux-ng-blkid" ] && yes | tazpkg -r util-linux-ng-blkid 1.27 - rm -f $1/sbin/blkid 1.28 + rm -f $root/sbin/blkid 1.29 } 1.30 1.31 post_remove() 1.32 { 1.33 - ln -s /bin/busybox /sbin/blkid 1.34 + cd $root/sbin 1.35 + ln -s ../bin/busybox blkid 1.36 }