wok-current view coreutils-context-system/receipt @ rev 25737
Add wireshark and deps, rebuild ntfs-3g with posix acls
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jan 28 15:25:33 2025 +0000 (7 months ago) |
parents | 3b252eb4d26a |
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 HOST_ARCH="i486 x86_64"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 # according to https://doc.slitaz.org/en:cookbook:wok
21 # Generally, the base packages contain no man, info or doc files
22 # mandir="$fs/usr/share/man/man1"
23 # mkdir -p $mandir
25 while read i
26 do
27 mkdir -p $fs$(dirname $i)
28 cp -a $install$i $fs$i
29 # find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
30 done <<EOT
31 /bin/date
32 /bin/uname
33 /usr/bin/chcon
34 /usr/bin/hostid
35 /usr/bin/nproc
36 /usr/bin/runcon
37 /usr/bin/uptime
38 EOT
39 }
41 post_remove()
42 {
43 # Restore all Busybox applets that have been replaced
44 while read i
45 do
46 busybox ln -s /bin/busybox "$1$i"
47 done <<EOT
48 /bin/date
49 /bin/uname
50 /usr/bin/hostid
51 /usr/bin/uptime
52 EOT
53 }