Magellan Linux

Contents of /smage/trunk/core/freetype/freetype-2.4.12-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5110 - (show annotations) (download)
Mon Aug 12 10:41:20 2013 UTC (10 years, 10 months ago) by niro
File size: 1042 byte(s)
-disable bzip2 support even if libbz2 is found
1 # $Id$
2
3 PNAME="freetype"
4 PVER="2.4.12"
5 PBUILD="r2"
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
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
19 sminclude multilib alx-split
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 --without-bzip2 || die
36 mmake || die
37 }
38
39 alx_generic_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 }