wok view coreutils-file-special/receipt @ rev 25282

updated rlwrap (0.43 -> 0.45.2)
author Hans-G?nter Theisgen
date Mon Jul 18 15:29:34 2022 +0100 (2022-07-18)
parents 9b6a3a5c1a07
children
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-special"
4 VERSION="9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that work with special file types."
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/ln
27 /bin/mkdir
28 /bin/mknod
29 /bin/rmdir
30 /usr/bin/link
31 /usr/bin/mkfifo
32 /usr/bin/mktemp
33 /usr/bin/readlink
34 /usr/bin/realpath
35 /usr/bin/unlink
36 EOT
37 }
39 post_install()
40 {
41 # Remove Busybox applets in order to not clash with ("/bin", "/sbin",
42 # "/usr/bin" and "/usr/sbin" conflicts with the same filename)
43 rm "$1/bin/mktemp" # /usr/bin/mktemp
44 }
46 post_remove()
47 {
48 # Restore all Busybox applets that have been replaced
49 while read i
50 do
51 busybox ln -s /bin/busybox "$1$i"
52 done <<EOT
53 /bin/ln
54 /bin/mkdir
55 /bin/mknod
56 /bin/mktemp
57 /bin/rmdir
58 /usr/bin/mkfifo
59 /usr/bin/realpath
60 EOT
61 }