cd /tmp tce-load -iw compiletc gvim gperf curl-dev librsvg-dev libxml2-bin perl_xml_parser.tcz wget http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-3.9.tar.gz tar xfz netsurf-all-3.9.tar.gz cd netsurf-all-3.9 sudo cpan install Business::ISBN sudo cpan install HTML::Entities sudo cpan install HTML::Parser find . -name Makefile.defaults -type f -exec sed -i 's/-O2//g' {} \; find . -name Makefile.gcc -type f -exec sed -i 's/-O2//g' {} \; mkdir /tmp/nersurf export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe" export LDFLAGS="-Wl,-O1" #PREFIX=/usr/local make TARGET=framebuffer DESTDIR=/tmp/netsurf tce-load -iw gtk2-dev PREFIX=/usr/local make TARGET=gtk DESTDIR=/tmp/netsurf #tce-load -iw gtk3-dev.tcz #PREFIX=/usr/local make TARGET=gtk3 DESTDIR=/tmp/netsurf cd /tmp tce-load -iw squashfs-tools.tcz mksqyashfs netsurf netsurf.tcz