for i in hashsum; do
  install -m 755 $i $INSTALL_ROOT/usr/bin/$i
done
for i in sha256sum sha384sum sha512sum ripemd160sum; do
  case $i in
    sha256sum)    j='sha-256'    ;;
    sha384sum)    j='sha-384'    ;;
    sha512sum)    j='sha-512'    ;;
    ripemd160sum) j='ripemd-160' ;;
  esac
  echo '#!/bin/bash
hashsum -a '"$j"' $@' > /usr/bin/$i
  chmod 755 /usr/bin/$i
done
