#!/bin/bash
[ "$UID" != 0 ] && { exec sudo bash "$0" && exit 0; }
echo "Установка пакетов для сборки GraphicsMagick на Oracle9."
yum install -y make gcc binutils-devel libjxl-devel
yum install -y lcms2-devel freetype-devel libXext-devel libSM-devel libICE-devel libX11-devel bzip2-devel zlib-devel libtool-ltdl-devel libomp-devel
yum install -y perl libjpeg-turbo-devel libpng-devel libtiff-devel libwebp-devel fontconfig-devel libXt-devel libxml2-devel libwmf-devel ghostscript-devel
#./configure LIBS=-llcms2 --with-quantum-depth=16 --with-modules --without-jp2 --with-jxl --without-lzma --disable-shared --disable-static --disable-compressed-files || exit 1
#make || exit 1
#make install || exit 1
