Magellan Linux

Contents of /smage/trunk/core/freetype/freetype-2.4.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1779 - (show annotations) (download)
Thu Sep 22 14:06:30 2011 UTC (12 years, 7 months ago) by niro
File size: 1036 byte(s)
auto added: ver bump to 2.4.6-r1
1 # $Id$
2
3 PNAME="freetype"
4 PVER="2.4.6"
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 MCORE_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
18 sminclude multilib mcore-split
19
20 SRC_URI=(
21 http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | lasttarball"
26
27 src_compile()
28 {
29 # otherwise mkfontscale could SIGSEGV or SIGILL
30 # see ( redhat bug 118021 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021)
31 export CFLAGS="${CFLAGS} -fno-strict-aliasing"
32 export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
33
34 mconfigure || die
35 mmake || die
36 }
37
38 mcore_generic_src_install()
39 {
40 minstall_destdir || die
41
42 minstalldocs ChangeLog README README.CVS
43 minstalldocs docs/{CHANGES,CUSTOMIZE,PATENTS,*.TXT,*.txt,reference,release,TODO,TRUETYPE} || die
44 }