Remember to install the MathC library first!
Get the source file archive from here! Then:
gzip -cd grafix.tar.gz | tar -xvf -
cd grafix
./configure
make
Note: The configure script is rather primitive. If you want to send us a better one, you are welcome.