Magellan Linux

Annotation of /branches/R11-stable/core/freetype/freetype-2.5.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20372 - (hide annotations) (download)
Tue Dec 10 10:05:01 2013 UTC (10 years, 9 months ago) by niro
Original Path: trunk/core/freetype/freetype-2.5.2-r1.smage2
File size: 987 byte(s)
auto added: ver bump to 2.5.2-r1
1 niro 20372 # $Id$
2    
3     PNAME="freetype"
4     PVER="2.5.2"
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     }