ncurses.build 928 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. cd $tmpdir
  2. # Downloading nano source
  3. if [ ! -f "$ncurses" ]; then
  4. echo "Downloading ncurses sources..."
  5. wget $ncursesmirror/$ncurses
  6. tar -xf $ncurses
  7. fi
  8. # Configure
  9. cd $ncursessrcdir
  10. ./configure --prefix=$freondir \
  11. --with-shared \
  12. --without-debug \
  13. --without-normal \
  14. --enable-widec
  15. # Compile
  16. make -j$corecount
  17. make install
  18. make distclean
  19. ./configure --prefix=$freondir \
  20. --with-shared \
  21. --without-normal \
  22. --without-debug \
  23. --without-cxx-binding \
  24. --with-abi-version=5 \
  25. --with-versioned-syms
  26. make sources libs
  27. cp -av lib/lib*.so.5* $freondir/lib
  28. cd $freondir/lib
  29. ln -s libncursesw.so.6 libtinfo.so.6
  30. ln -s libtinfo.so.6 libtinfo.so
  31. ln -s libncurses.so.5 libtinfo.so.5
  32. ln -s libtinfo.so.5 libtinfo.so
  33. ln -s libncursesw.so.6 libncursesw.so.5
  34. cd $tmpdir