tar xjvf elinks-current-0.13.tar.bz2
cd elinks-0.13-20110826
export
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe -s -fno-inline -nostdinc -fomit-frame-pointer"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"
sudo ./configure --prefix=/usr/local --disable-backtrace --enable-fastmem --enable-small --without-lua --without-gnutls --without-x --without-gpm
links elinks.cz
links tinycorelinux.net
make -j3
sudo make -j3
touch /tmp/mark
ls
cd elinks-0.13-20110826
ls
make DESTDIR=/tmp/package install
cd /tmp
ls
cd /home/tc
cd elinks-0.13-20110826
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 /tmp
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 package
ls
find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" |cut -f 1 -d : | xargs strip -g 2> /dev/null
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 ..
ls
mksquashfs package elinks-0.13.tcz
cd /tmp/package
ls
find usr -not -type d > elinks-0.13.tcz.list
ls
rm -rf usr
ls
cd ..
ls
mksquashfs package-doc elinks-0.13-doc.tcz
cd /tmp/package-doc
ls
find usr -not -type d > elinks-0.13-doc.tcz.list
rm -rf usr
cd ..
ls
mksquashfs package-locale elinks-0.13-locale.tcz
ls
cd /tmp/package-locale
ls
find usr -not -type d > elinks-0.13-locale.tcz.list
ls
rm -rf usr