summaryrefslogtreecommitdiffstats
path: root/crypto/hashsum/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hashsum/INSTALL')
-rwxr-xr-xcrypto/hashsum/INSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/hashsum/INSTALL b/crypto/hashsum/INSTALL
new file mode 100755
index 0000000000..ef2e9dc715
--- /dev/null
+++ b/crypto/hashsum/INSTALL
@@ -0,0 +1,14 @@
+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