wok-next view coreutils-context-system/receipt @ rev 19356
Up ranger (1.7.2)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Tue Jul 26 19:09:36 2016 +0100 (2016-07-26) |
parents | 6fab3264ba87 |
children | c963361d3d54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-context-system"
4 VERSION="8.25"
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 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 /bin/date
26 /bin/uname
27 /usr/bin/chcon
28 /usr/bin/hostid
29 /usr/bin/nproc
30 /usr/bin/runcon
31 /usr/bin/uptime
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 /bin/date
42 /bin/uname
43 /usr/bin/hostid
44 /usr/bin/uptime
45 EOT
46 }