wok-current view coreutils-file-summarize/receipt @ rev 19444
Up libssh2 (1.7.0) CVE-2016-0787
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 14 18:55:24 2016 +0200 (2016-10-14) |
parents | 1d0123efe74c |
children | 3aff5e562b09 |
line source
1 # SliTaz package receipt.
3 PACKAGE="coreutils-file-summarize"
4 VERSION="8.25"
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 WANTED="coreutils"
12 DEPENDS="glibc-base"
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; do
21 mkdir -p $fs$(dirname $i)
22 cp -a $install$i $fs$i
23 find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
24 done <<EOT
25 /usr/bin/cksum
26 /usr/bin/mcookie
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; do
42 busybox ln -s /bin/busybox "$1$i"
43 done <<EOT
44 /usr/bin/cksum
45 /usr/bin/md5sum
46 /usr/bin/sha1sum
47 /usr/bin/sha256sum
48 /usr/bin/sha512sum
49 /usr/bin/sum
50 /usr/bin/wc
51 EOT
52 }