wok-6.x view coreutils-file-summarize/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents 9b6a3a5c1a07
children
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-summarize"
4 VERSION="9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU utilities that summarize files."
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 /usr/bin/cksum
30 /usr/bin/md5sum
31 /usr/bin/sha1sum
32 /usr/bin/sha224sum
33 /usr/bin/sha256sum
34 /usr/bin/sha384sum
35 /usr/bin/sha512sum
36 /usr/bin/sum
37 /usr/bin/wc
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 /usr/bin/cksum
49 /usr/bin/md5sum
50 /usr/bin/sha1sum
51 /usr/bin/sha256sum
52 /usr/bin/sha512sum
53 /usr/bin/sum
54 /usr/bin/wc
55 EOT
56 }