# hdw - linux coreutils package
#
-# author: hackbard@hackdaworld.dyndns.org
+# author: hackbard@hackdaworld.org
#
-# [V] 5.2.1
+# [V] 6.3
# [S] 1-2 2-6
-# [D] coreutils-5.2.1.tar.bz2 ftp://ftp.gnu.org/gnu/coreutils/
+# [D] coreutils-6.3.tar.bz2 ftp://ftp.gnu.org/gnu/coreutils/
-pre_install() {
- # old syntax compatibility
- export DEFAULT_POSIX2_VERSION="199209"
- }
-
-if [ "$hdw_status" = "2" ] ; then
+if [ "$stage" = "2" ] ; then
post_install() {
- for i in basename cat chgrp chmod chown cp dd df \
- dir dircolors du date echo false head \
- install ln ls mkdir mkfifo mknod mv pwd \
- rm rmdir shred sync sleep stty su test \
- touch true uname vdir; do
+ for i in basename cat chgrp chmod chown cp date dd df echo \
+ false hostname ln ls mkdir mknod mv pwd rm \
+ rmdir stty sync true uname head sleep nice; do
[ -f $prefix/bin/$i ] && \
- mv $prefix/bin/$i $root/bin
+ mv -v $prefix/bin/$i $root/bin
done
- ln -sf test $root/bin/[
- ln -sf ../../bin/install $prefix/bin
+ mv -v $prefix/bin/chroot $prefix/sbin
}
fi