wok-6.x view coreutils-operations/receipt @ rev 18689
openssh, openssh-pam: fix post_install() with --root
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 11 00:40:59 2015 +0200 (2015-12-11) |
parents | bb8fe72f8f3a |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-operations"
4 VERSION="8.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that perform basic operations."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/coreutils/"
10 WANTED="coreutils"
12 DEPENDS="glibc-base acl"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # This is a special package for installed system or developer. We only take
17 # a few things, as Busybox provides all the basic utilities, but not for compiling.
18 #
19 genpkg_rules()
20 {
21 mkdir -p $fs/bin
22 #cp -a $install/usr/bin/cp $fs/bin
23 cp -a $install/usr/bin/dd $fs/bin
24 cp -a $install/usr/bin/mv $fs/bin
25 cp -a $install/usr/bin/ln $fs/bin
26 #cp -a $install/usr/bin/rm $fs/bin
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/bin/install $fs/usr/bin
30 cp -a $install/usr/bin/shred $fs/usr/bin
31 }
33 post_remove()
34 {
35 # use busybox ln applet directly since /bin/ln
36 # in this package is remove already
37 # /bin/busybox ln -fs /bin/busybox $1/bin/cp
38 /bin/busybox ln -fs /bin/busybox $1/bin/dd
39 /bin/busybox ln -fs /bin/busybox $1/bin/mv
40 /bin/busybox ln -fs /bin/busybox $1/bin/ln
41 # /bin/busybox ln -fs /bin/busybox $1/bin/rm
42 /bin/busybox ln -fs /bin/busybox $1/usr/bin/install
43 }