Magellan Linux

Contents of /branches/R11-stable/core/freetype/freetype-2.5.0.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19415 - (show annotations) (download)
Mon Sep 16 08:56:29 2013 UTC (10 years, 7 months ago) by niro
File size: 989 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="freetype"
4 PVER="2.5.0.1"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="truetype font rendering libraries."
10 HOMEPAGE="http://www.freetype.org/"
11
12 DEPEND=">= virtual/glibc
13 >= sys-libs/zlib-1.2
14 >= app-arch/bzip2-1"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude multilib
20
21 SRC_URI=(
22 http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball"
27
28 src_compile()
29 {
30 # otherwise mkfontscale could SIGSEGV or SIGILL
31 # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021)
32 export CFLAGS="${CFLAGS} -fno-strict-aliasing"
33 export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
34
35 mconfigure || die
36 mmake || die
37 }
38
39 src_install()
40 {
41 minstall_destdir || die
42
43 minstalldocs ChangeLog README README.CVS
44 minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die
45 }