wok diff util-linux-blkid/receipt @ rev 14202

Add w3m
author Richard Dunbar <mojo@slitaz.org>
date Thu Mar 14 05:13:26 2013 +0000 (2013-03-14)
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	Thu Mar 14 05:13:26 2013 +0000
     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  }