123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- cd $tmpdir
-
- # Downloading nano source
- if [ ! -f "$ncurses" ]; then
- echo "Downloading ncurses sources..."
- wget $ncursesmirror/$ncurses
- tar -xf $ncurses
- fi
- # Configure
- cd $ncursessrcdir
- ./configure --prefix=$freondir \
- --with-shared \
- --without-debug \
- --without-normal \
- --enable-widec
- # Compile
- make -j$corecount
- make install
- make distclean
- ./configure --prefix=$freondir \
- --with-shared \
- --without-normal \
- --without-debug \
- --without-cxx-binding \
- --with-abi-version=5 \
- --with-versioned-syms
- make sources libs
- cp -av lib/lib*.so.5* $freondir/lib
- cd $freondir/lib
- ln -s libncursesw.so.6 libtinfo.so.6
- ln -s libtinfo.so.6 libtinfo.so
- ln -s libncurses.so.5 libtinfo.so.5
- ln -s libtinfo.so.5 libtinfo.so
- ln -s libncursesw.so.6 libncursesw.so.5
- cd $tmpdir
|