#!/bin/sh tce-load -wil compiletc bzip2-dev openssl-1.1.1-dev gpm libjpeg-turbo-dev libpng-dev libtiff libtiff-dev Xorg-7.7-dev zlib_base-dev liblzma-dev DestinysDirectory="/i686/home/tc/Downloads/" mkdir -p "$DestinysDirectory" cd "$DestinysDirectory" wget -c "http://links.twibright.com/download/links-2.28.tar.bz2" tar -xf links-2.28.tar.bz2 cd links-2.28/ export CFLAGS="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" export LDFLAGS="-Wl,-O1" ./configure --prefix=/usr/local --enable-graphics make mkdir -p $DestinysDirectory/links-full/usr/local/share/doc/links-full make DESTDIR=$DestinysDirectory/links-full/ install cp $DestinysDirectory/links-2.28/COPYING $DestinysDirectory/links-full/usr/local/share/doc/links-full/ cd .. mksquashfs links-full links-full.tcz md5sum links-full.tcz > links-full.tcz.md5.txt submitqc --libs