Magellan Linux

Annotation of /branches/R11-stable/extras/enchant/enchant-1.6.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13963 - (hide annotations) (download)
Thu Nov 1 21:43:01 2012 UTC (11 years, 10 months ago) by niro
Original Path: trunk/extras/enchant/enchant-1.6.0-r3.smage2
File size: 897 byte(s)
-rebuild
1 niro 13963 # $Id$
2    
3     PNAME="enchant"
4     PVER="1.6.0"
5     PBUILD="r3"
6    
7     PCAT="app-text"
8    
9     DESCRIPTION="Enchant is a generic spell checking library."
10     HOMEPAGE="http://www.abisource.com/enchant/"
11    
12     DEPEND=">= dev-libs/glib2-2.34
13     >= app-text/aspell-0.60
14     >= app-text/hunspell-1.3"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mbuild
20    
21     SRC_URI=(
22     http://www.abisource.com/downloads/${PNAME}/${PVER}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${PNAME}-1.5.0-multilib.patch
25     )
26    
27     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz"
28    
29     src_prepare()
30     {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fixes issues on multilib systems
35     mpatch ${PNAME}-1.5.0-multilib.patch || die
36     mautoreconf || die
37     }
38    
39     src_compile()
40     {
41     cd ${SRCDIR}
42    
43     mconfigure \
44     --enable-aspell \
45     --enable-myspell \
46     --with-system-myspell \
47     --disable-zemberek \
48     --disable-ispell \
49     || die
50    
51     mmake || die
52     }