# $Id$ PNAME="freetype" PVER="2.3.9" PBUILD="r2" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="truetype font rendering libraries." HOMEPAGE="http://www.freetype.org/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" MCORE_ONLY_KEEP="" sminclude multilib mcore-split SRC_URI=( http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball" src_compile() { # otherwise mkfontscale could SIGSEGV or SIGILL # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021) export CFLAGS="${CFLAGS} -fno-strict-aliasing" export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" mconfigure || die mmake || die } mcore_generic_src_install() { minstall_destdir || die minstalldocs ChangeLog README README.CVS minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die }