wok-current diff coreutils-disk/receipt @ rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents 9b6a3a5c1a07
children 5926178cd6fa
line diff
     1.1 --- a/coreutils-disk/receipt	Sun Jan 12 09:19:37 2020 +0100
     1.2 +++ b/coreutils-disk/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.3 @@ -1,27 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="coreutils-disk"
     1.7 -VERSION="8.31"
     1.8 +VERSION="9.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="GNU utilities that work with disks."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="GPL3"
    1.13  WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
    1.14  
    1.15 +SUGGESTED="coreutils-lang"
    1.16  DEPENDS="glibc-base"
    1.17  WANTED="coreutils"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mandir="$fs/usr/share/man/man1"
    1.23 -	mkdir -p $mandir
    1.24 +	# according to https://doc.slitaz.org/en:cookbook:wok
    1.25 +	# Generally, the base packages contain no man, info or doc files
    1.26 +#	mandir="$fs/usr/share/man/man1"
    1.27 +#	mkdir -p $mandir
    1.28  
    1.29  	while read i
    1.30  	  do
    1.31  		mkdir -p $fs$(dirname $i)
    1.32  		cp -a $install$i	$fs$i
    1.33 -		find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
    1.34 +#		find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
    1.35  	  done <<EOT
    1.36  /bin/df
    1.37  /bin/sync
    1.38 @@ -35,7 +38,7 @@
    1.39  {
    1.40  	# Remove Busybox applets in order to not clash with ("/bin", "/sbin",
    1.41  	# "/usr/bin" and "/usr/sbin" conflicts with the same filename)
    1.42 -	rm "$1/bin/stat"     # /usr/bin/stat
    1.43 +	rm "$1/bin/stat"	# /usr/bin/stat
    1.44  }
    1.45  
    1.46  post_remove()