wok-current annotate util-linux-eject/receipt @ rev 16661

Up rtorrent (0.9.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 14 07:04:33 2014 +0000 (2014-05-14)
parents c3b198684af9
children 4f122372e6f6
rev   line source
mojo@15714 1 # SliTaz package receipt.
mojo@15714 2
mojo@15714 3 PACKAGE="util-linux-eject"
mojo@15714 4 VERSION="2.24"
mojo@15714 5 CATEGORY="base-system"
mojo@15714 6 SHORT_DESC="The eject utility from Util linux NG."
mojo@15714 7 MAINTAINER="pankso@slitaz.org"
mojo@15714 8 LICENSE="GPL2"
mojo@15714 9 WANTED="util-linux"
mojo@15714 10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
mojo@15714 11 HOST_ARCH="i486 arm"
mojo@15714 12
mojo@15716 13 DEPENDS="glibc-base util-linux-mount"
mojo@15714 14
mojo@15714 15 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@15714 16 genpkg_rules()
mojo@15714 17 {
mojo@15714 18 mkdir -p $fs/usr/bin
mojo@15714 19 cp -a $install/usr/bin/eject $fs/usr/bin
mojo@15714 20 }
mojo@15714 21
mojo@15714 22 # Overlap busybox
mojo@15714 23 pre_install()
mojo@15714 24 {
mojo@15714 25 rm -f $root/usr/bin/eject
mojo@15714 26 }
mojo@15714 27
mojo@15714 28 post_remove()
mojo@15714 29 {
mojo@15714 30 cd $root/usr/bin
mojo@15714 31 ln -s ../../bin/busybox eject
mojo@15714 32 }