svr5-shared-installed 480 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/sh
  2. major="0"
  3. minor="9.7b"
  4. slib=libssl
  5. sh_slib=$slib.so.$major.$minor
  6. clib=libcrypto
  7. sh_clib=$clib.so.$major.$minor
  8. # If you want them in /usr/local/lib then change INSTALLTOP to point there.
  9. #INSTALLTOP=/usr/local/ssl/lib
  10. INSTALLTOP=/usr/local/lib
  11. cp -p $sh_clib $INSTALLTOP
  12. cp -p $sh_slib $INSTALLTOP
  13. PWD=`pwd`
  14. cd $INSTALLTOP
  15. rm -f $INSTALLTOP/$clib.so
  16. ln -s $INSTALLTOP/$sh_clib $clib.so
  17. rm -f $INSTALLTOP/$slib.so
  18. ln -s $INSTALLTOP/$sh_slib $slib.so
  19. cd $PWD