wok-current rev 15716

util-linux-eject: add depends,remove post_install
author Richard Dunbar <mojo@slitaz.org>
date Wed Dec 25 00:55:35 2013 +0000 (2013-12-25)
parents f4f1a0089c2d
children 8afe5a63756e
files util-linux-eject/receipt
line diff
     1.1 --- a/util-linux-eject/receipt	Wed Dec 25 00:04:02 2013 +0000
     1.2 +++ b/util-linux-eject/receipt	Wed Dec 25 00:55:35 2013 +0000
     1.3 @@ -10,7 +10,7 @@
     1.4  WEB_SITE="http://kernel.org/~kzak/util-linux/"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -DEPENDS="glibc-base"
     1.8 +DEPENDS="glibc-base util-linux-mount"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  genpkg_rules()
    1.12 @@ -19,15 +19,6 @@
    1.13  	cp -a $install/usr/bin/eject $fs/usr/bin
    1.14  }
    1.15  
    1.16 -# Remove old package
    1.17 -post_install()
    1.18 -{
    1.19 -	if [ -d "$INSTALLED/util-linux-eject" ]; then
    1.20 -		echo "Removing old: util-linux-eject"
    1.21 -		rm -rf $INSTALLED/util-linux-eject
    1.22 -	fi
    1.23 -}
    1.24 -
    1.25  # Overlap busybox
    1.26  pre_install()
    1.27  {