My tailor-made suite for studying Japanese
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
664 B

  1. #!/bin/sh
  2. echo "Building curl..."
  3. cd Dependencies/curl
  4. ./buildconf
  5. curl_dir=$(echo $PWD/local_install)
  6. ./configure --prefix=$curl_dir # --enable-debug
  7. make -j4
  8. make install
  9. cd ../../
  10. echo "Building mecab..."
  11. cd Dependencies/mecab # Root of repo
  12. mkdir build
  13. cd build
  14. output=$(pwd)
  15. ../mecab/configure --prefix=$output/local CC=clang CXX=clang++ CXXFLAGS="-g" --with-charset=utf8
  16. make -j4
  17. make install # Must do this before making the dictionary
  18. # Dictionary must be built in directory
  19. cd ../mecab-ipadic
  20. ./configure --prefix=$output/local CC=clang CXX=clang++ CXXFLAGS="-g" --with-charset=utf8 --with-mecab-config=$output/local/bin/mecab-config
  21. make
  22. make install