compile and install jbig kit, libjbig on mac os x

download jbigkit (e.g. jbigkit-2.0.tar.gz)
untar
cd jbigkit
make
make test
sudo install -m 755 ./pbmtools/jbgtopbm ./pbmtools/pbmtojbg /usr/local/bin
sudo install -m 644 ./pbmtools/jbgtopbm.1 ./pbmtools/pbmtojbg.1 /usr/local/share/man/man1
sudo install -m 644 ./libjbig/jbig.h ./libjbig/jbig_ar.h /usr/local/include
sudo install -m 644 ./libjbig/libjbig.a /usr/local/lib


-- linux_macosx_hints_etc page