Magellan Linux

Annotation of /branches/magellan-next/extras/scim/scim-1.4.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7145 - (hide annotations) (download)
Wed Sep 29 15:07:55 2010 UTC (13 years, 11 months ago) by niro
File size: 1037 byte(s)
-added gcc-4.5 patch
1 niro 7144 # $Id: scim-1.4.9-r1.smage2 4931 2010-02-17 10:17:07Z niro $
2    
3     PNAME="scim"
4     PVER="1.4.9"
5     PBUILD="r2"
6    
7     PCATEGORIE="app-text"
8     STATE="unstable"
9    
10     DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform."
11     HOMEPAGE="http://www.scim-im.org/"
12    
13     DEPEND=">= x11-libs/libX11-1.3
14     >= dev-libs/glib2-2.24
15     >= dev-libs/atk-1.30
16     >= x11-libs/pango-1.28
17     >= x11-libs/gtk2+-2.20"
18    
19     SDEPEND=">= x11-libs/libXt-1
20     >= dev-lang/perl-5.12
21     >= dev-util/pkgconfig-0.25
22     >= dev-util/intltool-0.41
23     >= sys-dev/libtool-2.2"
24    
25     SRCFILE="${PNAME}-${PVER}.tar.gz"
26     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27    
28     sminclude mbuild
29    
30     SRC_URI=(
31     sourceforge://${PNAME}/${SRCFILE}
32     mirror://${PNAME}/${SRCFILE}
33 niro 7145 mirror://${PNAME}/${PNAME}-${PVER}-gcc45.patch
34 niro 7144 )
35    
36     UP2DATE="updatecmd_sourceforge ${PNAME}"
37    
38 niro 7145 src_prepare()
39     {
40     munpack ${SRCFILE} || die
41     cd ${SRCDIR}
42    
43     # fix compilation with gcc-4.5
44     mpatch ${PNAME}-${PVER}-gcc45.patch || die
45     }
46    
47 niro 7144 src_compile()
48     {
49     cd ${SRCDIR}
50    
51     mconfigure --enable-ld-version-script --without-doxygen || die
52     mmake || die
53     }