cd /home/tc/Downloads wget https://launchpad.net/xpad/trunk/5.4.0/+download/xpad-5.4.0.tar.bz2 tar zxf xpad-5.4.0.tar.bz2 cd xpad-5.4.0 ./autogen.sh 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 [separate -dev, -doc] sudo tar -T files --numeric-owner -zcvf xpad.tce mkdir /tmp/xpad cp xpad.tce /tmp/xpad cd /tmp/xpad sudo tar xf xpad.tce rm xpad.tce cd ../ mksquashfs xpad xpad.tcz