readline.build 519 B

123456789101112131415161718192021222324
  1. cd $tmpdir
  2. # Downloading readline source
  3. if [ ! -f "$readline" ]; then
  4. echo "Downloading readline sources..."
  5. wget $mainmirror/$readline
  6. tar -xf $readline
  7. fi
  8. cd $readlinesrcdir
  9. sed -i '/MV.*old/d' Makefile.in
  10. sed -i '/{OLDSUFF}/c:' support/shlib-install
  11. ./configure --prefix=$freondir --disable-static --docdir=$freondir/share/doc/readline-8.1
  12. make SHLIB_LIBS="-L/tools/lib -lncursesw" -j$corecount
  13. make SHLIB_LIBS="-L/tools/lib -lncursesw" install
  14. chmod -v u+w /freon/lib/lib{readline,history}.so.*
  15. cd ..