wok view coreutils-context-user/receipt @ rev 22616

updated coreutils packages (8.25 -> 8.31)
author Hans-G?nter Theisgen
date Sun Jan 12 09:19:37 2020 +0100 (2020-01-12)
parents 1d0123efe74c
children 3b252eb4d26a
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-context-user"
4 VERSION="8.31"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities related to the user context."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
11 DEPENDS="glibc-base"
12 WANTED="coreutils"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mandir="$fs/usr/share/man/man1"
18 mkdir -p $mandir
20 while read i
21 do
22 mkdir -p $fs$(dirname $i)
23 cp -a $install$i $fs$i
24 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
25 done <<EOT
26 /usr/bin/groups
27 /usr/bin/id
28 /usr/bin/logname
29 /usr/bin/pinky
30 /usr/bin/users
31 /usr/bin/who
32 /usr/bin/whoami
33 EOT
34 }
36 post_remove()
37 {
38 # Restore all Busybox applets that have been replaced
39 while read i
40 do
41 busybox ln -s /bin/busybox "$1$i"
42 done <<EOT
43 /usr/bin/groups
44 /usr/bin/id
45 /usr/bin/logname
46 /usr/bin/users
47 /usr/bin/who
48 /usr/bin/whoami
49 EOT
50 }