nano.build 249 B

123456789101112131415161718
  1. cd $tmpdir
  2. # Downloading nano source
  3. if [ ! -f "$nano" ]; then
  4. echo "Downloading nano editor sources..."
  5. wget $nanomirror/$nano
  6. tar -xf $nano
  7. fi
  8. # Configure
  9. cd $nanosrcdir
  10. ./configure --prefix=$freondir
  11. # Compile
  12. make -j20
  13. make install
  14. cd ..