CentO Freetype bytecode
Материал из wiki.lissyara.su
!#/bin/sh cd /usr/src yum -y update freetype yum -y install gcc-c++ rpm-build xorg-x11-deprecated-libs-devel xorg-x11-devel automake autoconf libtool zlib-devel libX11-devel echo "Подождите..." mkdir -p /usr/src/redhat/SPECS FILENAME=`yum list freetype | grep installed | awk '{print $1$2".src.rpm" }' | sed "s/.i386/-/"` rm -f $FILENAME wget http://mirror.centos.org/centos/5/os/SRPMS/$FILENAME rpm -Uvh $FILENAME sed -i 's/%define without_bytecode_interpreter 1/%define without_bytecode_interpreter 0/' /usr/src/redhat/SPECS/freetype.spec cd /usr/src/redhat/SPECS rpmbuild -ba freetype.spec cd /usr/src/redhat/RPMS/i386 rpm -Uvh --force * echo "Готово....."