Installation of libpng
Install libpng by running the following commands:
patch -Np1 -i ../libpng-&libpng-version;-link-to-proper-libs.patch &&
make prefix=/usr ZLIBINC=/usr/include \
ZLIBLIB=/usr/lib -f scripts/makefile.linux &&
make prefix=/usr install -f scripts/makefile.linux