# inpututils
# ==========
# I only need the jscal and jstest utilities to test my joystick, so I only
# build those below.
# If you want to browse the CVS repository:
# http://cvs.sourceforge.net/viewcvs.py/linuxconsole/ruby/utils/
cd
mkdir -p -m 0700 src
cd src
test -d inpututils && ( cd inpututils/ruby ; cvs update )
test ! -d inpututils &&
( mkdir inpututils
cd inpututils
# If it asks for a password, hit enter
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/linuxconsole login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/linuxconsole \
co -P ruby )
cd inpututils/ruby/utils
make clean
make jscal
make jstest
su -c "install -s jscal jstest /usr/local/bin/"
echo "inpututils was installed from CVS under ~/src/inpututils" > \
~/installed/inpututils.README
chmod 700 ~/installed/inpututils.README