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