wok diff util-linux-eject/receipt @ rev 19258

syslinux/iso2exe: fix partition scan
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 10:58:40 2016 +0200 (2016-07-03)
parents 69d061d983f5
children 0f35f8ad5632
line diff
     1.1 --- a/util-linux-eject/receipt	Wed Dec 25 00:55:35 2013 +0000
     1.2 +++ b/util-linux-eject/receipt	Sun Jul 03 10:58:40 2016 +0200
     1.3 @@ -1,32 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="util-linux-eject"
     1.7 -VERSION="2.24"
     1.8 +VERSION="2.28"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="The eject utility from Util linux NG."
    1.11 +SHORT_DESC="The eject utility from Util Linux"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="util-linux"
    1.15 -WEB_SITE="http://kernel.org/~kzak/util-linux/"
    1.16 +WEB_SITE="https://en.wikipedia.org/wiki/Util-linux"
    1.17  HOST_ARCH="i486 arm"
    1.18  
    1.19 -DEPENDS="glibc-base util-linux-mount"
    1.20 +WANTED="util-linux"
    1.21 +DEPENDS="glibc-base util-linux-blkid util-linux-mount util-linux-uuid"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/usr/bin
    1.27 -	cp -a $install/usr/bin/eject $fs/usr/bin
    1.28 -}
    1.29 -
    1.30 -# Overlap busybox
    1.31 -pre_install()
    1.32 -{
    1.33 -	rm -f $root/usr/bin/eject
    1.34 +	cook_copy_files eject*
    1.35  }
    1.36  
    1.37  post_remove()
    1.38  {
    1.39 -	cd $root/usr/bin
    1.40 -	ln -s ../../bin/busybox eject
    1.41 +	ln -s /bin/busybox "$1/usr/bin/eject"
    1.42  }