Magellan Linux

Contents of /branches/magellan-next/core/freetype/freetype-2.4.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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