# $Header: /alx-cvs/smage-eglibc/freetype/freetype-2.3.5-r1.smage2,v 1.1 2008/03/07 13:26:05 niro Exp $ PNAME="freetype" PVER="2.3.5" PBUILD="r1" 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}" sminclude multilib alx SRC_URI=( http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) 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 } src_install() { minstall_destdir || die minstalldocs ChangeLog README README.CVS minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die }