wok view coreutils-context-system/receipt @ rev 25543

linux-cloop: update cloop.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 12:33:53 2023 +0000 (20 months ago)
parents 9b6a3a5c1a07
children
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-context-system"
4 VERSION="9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities related to the system context."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
11 SUGGESTED="coreutils-lang"
12 DEPENDS="glibc-base"
13 WANTED="coreutils"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # according to https://doc.slitaz.org/en:cookbook:wok
19 # Generally, the base packages contain no man, info or doc files
20 # mandir="$fs/usr/share/man/man1"
21 # mkdir -p $mandir
23 while read i
24 do
25 mkdir -p $fs$(dirname $i)
26 cp -a $install$i $fs$i
27 # find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
28 done <<EOT
29 /bin/date
30 /bin/uname
31 /usr/bin/chcon
32 /usr/bin/hostid
33 /usr/bin/nproc
34 /usr/bin/runcon
35 /usr/bin/uptime
36 EOT
37 }
39 post_remove()
40 {
41 # Restore all Busybox applets that have been replaced
42 while read i
43 do
44 busybox ln -s /bin/busybox "$1$i"
45 done <<EOT
46 /bin/date
47 /bin/uname
48 /usr/bin/hostid
49 /usr/bin/uptime
50 EOT
51 }