CWD=`pwd` VERSION=2.4.0.1 ARCH=i486 cd /tmp tar xjvf $CWD/ghex-$VERSION.tar.bz2 cd ghex-$VERSION chown -R root.root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; CFLAGS="-O2 -march=i486 -mcpu=i686" \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ i486-slackware-linux make make install mkdir -p /usr/doc/ghex-$VERSION cp -a \ AUTHORS BUGS COPYING HACKING MAINTAINERS NEWS README \ /usr/doc/ghex-$VERSION mkdir -p /install cat $CWD/slack-desc > /install/slack-desc