imlib2 is part of the Enlightenment EFL libraries. It is built using ./autogen.sh, configure and make.
In the initial build it is missing support for gif and id3, gif support is added by installing the giflib-devel package, id3 support needs a new project, id3lib.