tce-load -i compiletc squashfs-tools git clone https://github.com/classilla/cryanc.git cd cryanc gcc -mtune=generic -Os -pipe -o carl carl.c strip carl ./carl --help cd .. mkdir carl_ext cd carl_ext/ mkdir -p carl/usr/local/bin mkdir -p carl-doc/usr/local/share/man/man1 cp ../cryanc/carl.1 carl-doc/usr/local/share/man/man1 cp ../cryanc/carl carl/usr/local/bin sudo chown -R root:root * sudo chown tc:staff * for dir in `find -maxdepth 1 -mindepth 1 -type d`; do cd $dir; find usr ! -type d | sed "s/^/\//g" > ../$dir.tcz.list; cd ..; done md5sum carl-doc.tcz > carl-doc.tcz.md5.txt md5sum carl.tcz > carl.tcz.md5.txt