tar xzvf node-v0.4.11.tar.gz
cd node-v0.4.11
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe -s -fno-inline -nostdinc -nostdinc++ -fomit-frame-pointer"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -s -fno-inline -nostdinc -nostdinc++ 
-fomit-frame-pointer"
export LDFLAGS="-Wl,-O1"
sudo ./configure --prefix=/usr/local
sudo make
touch /tmp/mark
make DESTDIR=/tmp/node install
sudo make DESTDIR=/tmp/node install
cd /tmp
cd node
find . | xargs file | grep "executable" | grep ELF | grep "not stripped" |cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" |cut -f 1 -d : | xargs strip -g 2> /dev/null
cd ..
mksquashfs node nodejs.tcz
cd node
find usr -not -type d > nodejs.tcz.list
cd ..
mksquashfs node-dev nodejs-dev.tcz
mksquashfs node-doc nodejs-doc.tcz
cd node-dev
find usr -not -type d > nodejs-dev.tcz.list
cd ..
cd node-doc
find usr -not -type d > nodejs-doc.tcz.list
md5sum nodejs.tcz > nodejs.tcz.md5.txt
md5sum nodejs-doc.tcz > nodejs-doc.tcz.md5.txt
md5sum nodejs-dev.tcz > nodejs-dev.tcz.md5.txt
nano nodejs.tcz.info
tar zcf nodejs.tar.gz *
bcrypt nodejs.tar.gz
