tce-load -wli ncursesw-dev autoconf automake ncursesw-utils.tcz tar xzvf pkg/screen-4.9.0.tar.gz cd screen-4.9.0/ export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" export LDFLAGS="-Wl,-O1" autoconf -i ./configure --prefix=/usr/local --localstatedir=/var --with-socket-dir=/run/screen mkdir ../inst make DESTDIR=/tmp/inst install > termcap entry (./terminfo/screencap) should be installed manually. > You may also want to install ./etc/etcscreenrc in /usr/local/etc/screenrc tic ./terminfo/screeninfo.src make DESTDIR=../inst install sudo tic terminfo/screeninfo.src mkdir -p ../inst/usr/local/share/terminfo/s/ sudo mv /usr/local/share/terminfo/s/screen* ../inst/usr/local/share/terminfo/s mkdir -p ../inst/usr/local/etc cp etc/etcscreenrc ../inst/usr/local/etc/ mkdir ../inst/usr/local/share/doc cp COPYING ../inst/usr/local/share/doc/screen cd .. sudo chown -R root:root inst mksquashfs inst pkg/screen.tcz md5sum pkg/screen.tcz > pkg/screen.tcz.md5.txt cd inst/ find usr -not -type d > ../pkg/screen.tcz.list