wok-6.x view coreutils-file-summarize/receipt @ rev 23593
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 11:15:24 2020 +0100 (2020-04-08) |
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 }