wok-current view coreutils-file-summarize/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | 3aff5e562b09 |
children | 3b252eb4d26a |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-summarize"
4 VERSION="8.31"
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 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 /usr/bin/cksum
27 /usr/bin/md5sum
28 /usr/bin/sha1sum
29 /usr/bin/sha224sum
30 /usr/bin/sha256sum
31 /usr/bin/sha384sum
32 /usr/bin/sha512sum
33 /usr/bin/sum
34 /usr/bin/wc
35 EOT
36 }
38 post_remove()
39 {
40 # Restore all Busybox applets that have been replaced
41 while read i
42 do
43 busybox ln -s /bin/busybox "$1$i"
44 done <<EOT
45 /usr/bin/cksum
46 /usr/bin/md5sum
47 /usr/bin/sha1sum
48 /usr/bin/sha256sum
49 /usr/bin/sha512sum
50 /usr/bin/sum
51 /usr/bin/wc
52 EOT
53 }