cd /home/tc/Downloads
wget https://sourceforge.net/projects/libxosd/files/libxosd/xosd-2.2.14/xosd-2.2.14.tar.gz
tar zxf xosd-2.2.14.tar.gz
cd xosd-2.2.14
CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" \
CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" \
./configure
make
touch mymarker
sudo make install
sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
editor files [edit unneeded files and separate files into -dev and -doc]
sudo tar -T files --numeric-owner -zcvf extension.tce
mkdir /tmp/pkg
cp extension.tce /tmp/pkg
cd /tmp/pkg
sudo tar xf extension.tce
rm extension.tce
cd ..
sudo mksquashfs pkg/ extension.tcz