wok-next diff coreutils-context-working/receipt @ rev 19561

Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 16 01:16:56 2016 +0200 (2016-12-16)
parents 1d0123efe74c
children
line diff
     1.1 --- a/coreutils-context-working/receipt	Wed Jun 15 17:23:11 2016 +0300
     1.2 +++ b/coreutils-context-working/receipt	Fri Dec 16 01:16:56 2016 +0200
     1.3 @@ -14,26 +14,14 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mandir="$fs/usr/share/man/man1"
     1.8 -	mkdir -p $mandir
     1.9 -
    1.10 -	while read i; do
    1.11 -		mkdir -p $fs$(dirname $i)
    1.12 -		cp -a $install$i $fs$i
    1.13 -		find $install -name "$(basename $i).*" -exec cp -a \{\} $mandir \;
    1.14 -	done <<EOT
    1.15 -/bin/pwd
    1.16 -/bin/stty
    1.17 -/usr/bin/printenv
    1.18 -/usr/bin/tty
    1.19 -EOT
    1.20 +	cook_copy_files pwd stty printenv tty
    1.21  }
    1.22  
    1.23  post_install()
    1.24  {
    1.25  	# Remove Busybox applets in order to not clash with ("/bin", "/sbin",
    1.26  	# "/usr/bin" and "/usr/sbin" conflicts with the same filename)
    1.27 -	rm "$1/bin/printenv" # /usr/bin/printenv
    1.28 +	rm "$1/bin/printenv" # for /usr/bin/printenv
    1.29  }
    1.30  
    1.31  post_remove()