wok-6.x diff coreutils-command/receipt @ rev 24998
Up rp-pppoe (3.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 16 10:11:22 2022 +0000 (2022-05-16) |
parents | 9b6a3a5c1a07 |
children |
line diff
1.1 --- a/coreutils-command/receipt Sun Jan 12 09:19:37 2020 +0100 1.2 +++ b/coreutils-command/receipt Mon May 16 10:11:22 2022 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="coreutils-command" 1.7 -VERSION="8.31" 1.8 +VERSION="9.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="GNU command utilities." 1.11 MAINTAINER="rcx@zoominternet.net" 1.12 @@ -14,14 +14,16 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mandir="$fs/usr/share/man/man1" 1.17 - mkdir -p $mandir ${mandir/1/8} 1.18 + # according to https://doc.slitaz.org/en:cookbook:wok 1.19 + # Generally, the base packages contain no man, info or doc files 1.20 +# mandir="$fs/usr/share/man/man1" 1.21 +# mkdir -p $mandir ${mandir/1/8} 1.22 1.23 while read i 1.24 do 1.25 mkdir -p $fs$(dirname $i) 1.26 - cp -a $install$i $fs$i 1.27 - find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \; 1.28 + cp -a $install$i $fs$i 1.29 +# find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \; 1.30 done <<EOT 1.31 /usr/bin/env 1.32 /usr/bin/kill 1.33 @@ -34,16 +36,16 @@ 1.34 /usr/sbin/chroot 1.35 EOT 1.36 1.37 - mv $mandir/chroot.* ${mandir/1/8} 1.38 +# mv $mandir/chroot.* ${mandir/1/8} 1.39 } 1.40 1.41 post_install() 1.42 { 1.43 # Remove Busybox applets in order to not clash with ("/bin", "/sbin", 1.44 # "/usr/bin" and "/usr/sbin" conflicts with the same filename) 1.45 - rm "$1/bin/kill" # /usr/bin/kill 1.46 - rm "$1/bin/nice" # /usr/bin/nice 1.47 - rm "$1/bin/sleep" # /usr/bin/sleep 1.48 + rm "$1/bin/kill" # /usr/bin/kill 1.49 + rm "$1/bin/nice" # /usr/bin/nice 1.50 + rm "$1/bin/sleep" # /usr/bin/sleep 1.51 } 1.52 1.53 post_remove()