wok-6.x view coreutils-context-user/receipt @ rev 21228
updated libgsf and libgsf-dev (1.14.40 -> 1.14.45)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 10 17:30:23 2019 +0100 (2019-04-10) |
parents | d6ca18366f41 |
children | 9b6a3a5c1a07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-context-user"
4 VERSION="8.25"
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 WANTED="coreutils"
12 DEPENDS="glibc-base"
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; do
21 mkdir -p $fs$(dirname $i)
22 cp -a $install$i $fs$i
23 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
24 done <<EOT
25 /usr/bin/groups
26 /usr/bin/id
27 /usr/bin/logname
28 /usr/bin/pinky
29 /usr/bin/users
30 /usr/bin/who
31 /usr/bin/whoami
32 EOT
33 }
35 post_remove()
36 {
37 # Restore all Busybox applets that have been replaced
38 while read i; do
39 busybox ln -s /bin/busybox "$1$i"
40 done <<EOT
41 /usr/bin/groups
42 /usr/bin/id
43 /usr/bin/logname
44 /usr/bin/users
45 /usr/bin/who
46 /usr/bin/whoami
47 EOT
48 }