Annotation of /branches/magellan-next/core/freetype/freetype-2.4.8-r1.smage2
Parent Directory
|
Revision Log
Revision 9261 -
(hide annotations)
(download)
Thu Nov 24 00:50:03 2011 UTC (12 years, 7 months ago) by niro
File size: 950 byte(s)
Thu Nov 24 00:50:03 2011 UTC (12 years, 7 months ago) by niro
File size: 950 byte(s)
auto added: ver bump to 2.4.8-r1
1 | niro | 9261 | # $Id$ |
2 | |||
3 | PNAME="freetype" | ||
4 | PVER="2.4.8" | ||
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 | } |