Contents of /branches/R11-unstable/core/freetype/freetype-2.5.5-r1.smage2
Parent Directory | Revision Log
Revision 24961 -
(show annotations)
(download)
Tue Nov 25 02:43:39 2014 UTC (9 years, 10 months ago) by niro
File size: 1056 byte(s)
Tue Nov 25 02:43:39 2014 UTC (9 years, 10 months ago) by niro
File size: 1056 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="freetype" |
4 | PVER="2.5.5" |
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 | >= media-libs/harfbuzz-0.9 |
14 | >= media-libs/libpng-1.5 |
15 | >= sys-libs/zlib-1.2 |
16 | >= app-arch/bzip2-1" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude multilib |
22 | |
23 | SRC_URI=( |
24 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball" |
29 | |
30 | src_compile() |
31 | { |
32 | # otherwise mkfontscale could SIGSEGV or SIGILL |
33 | # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021) |
34 | export CFLAGS="${CFLAGS} -fno-strict-aliasing" |
35 | export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
36 | |
37 | mconfigure || die |
38 | mmake || die |
39 | } |
40 | |
41 | src_install() |
42 | { |
43 | mmake DESTDIR=${BINDIR} install || die |
44 | |
45 | minstalldocs ChangeLog README README.CVS |
46 | minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die |
47 | } |