initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / base / coreutils / coreutils
1 # hdw - linux coreutils package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 5.2.1
6 # [S] 1-2 2-6
7 # [D] coreutils-5.2.1.tar.bz2 ftp://ftp.gnu.org/gnu/coreutils/
8
9 pre_install()   {
10         # old syntax compatibility
11         export DEFAULT_POSIX2_VERSION="199209"
12                 }
13
14 if [ "$hdw_status" = "2" ] ; then
15         post_install()  {
16                 for i in basename cat chgrp chmod chown cp dd df \
17                         dir dircolors du date echo false head \
18                         install ln ls mkdir mkfifo mknod mv pwd \
19                         rm rmdir shred sync sleep stty su test \
20                         touch true uname vdir; do
21                                 [ -f $prefix/bin/$i ] && \
22                                 mv $prefix/bin/$i $root/bin
23                 done
24                 ln -sf test $root/bin/[
25                 ln -sf ../../bin/install $prefix/bin
26                         }
27 fi