December 27, 2010

Installing Imager::File::GIF and Imager::File::JPEG with homebrew

More for my future reference than anything else :)
brew install giflib
brew install libjpeg
cpanm --look Imager::File::GIF
    perl Makefile.PL --libpath=~/.brew/lib --incpath=~/.brew/include
    make test install
cpanm --look Imager::File::JPEG
    perl Makefile.PL --libpath=~/.brew/lib --incpath=~/.brew/include
    make test install