wok-6.x view coreutils-file-output-full/receipt @ rev 23628
updated rust and rust-cargo (1.37.0 -> 1.42.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 10:33:21 2020 +0100 (2020-04-16) |
parents | 1d0123efe74c |
children | 3b252eb4d26a |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-output-full"
4 VERSION="8.31"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that output entire files."
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 /bin/cat
27 /usr/bin/base32
28 /usr/bin/base64
29 /usr/bin/nl
30 /usr/bin/od
31 /usr/bin/tac
32 EOT
33 }
35 post_install()
36 {
37 # Remove Busybox applets in order to not clash with ("/bin", "/sbin",
38 # "/usr/bin" and "/usr/sbin" conflicts with the same filename)
39 rm "$1/bin/base64" # /usr/bin/base64
40 }
42 post_remove()
43 {
44 # Restore all Busybox applets that have been replaced
45 while read i
46 do
47 busybox ln -s /bin/busybox "$1$i"
48 done <<EOT
49 /bin/base64
50 /bin/cat
51 /usr/bin/od
52 /usr/bin/tac
53 EOT
54 }