Magellan Linux

Annotation of /branches/magellan-next/extras/enchant/enchant-1.6.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8495 - (hide annotations) (download)
Wed Jul 20 14:25:11 2011 UTC (12 years, 9 months ago) by niro
File size: 951 byte(s)
auto added: ver bump to 1.6.0-r2
1 niro 8495 # $Id$
2    
3     PNAME="enchant"
4     PVER="1.6.0"
5     PBUILD="r2"
6    
7     PCATEGORIE="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.28
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     # rebuild configure
37     autoreconf --verbose --install --force || die
38     }
39    
40     src_compile()
41     {
42     cd ${SRCDIR}
43    
44     mconfigure \
45     --enable-aspell \
46     --enable-myspell \
47     --with-system-myspell \
48     --disable-zemberek \
49     --disable-ispell \
50     || die
51    
52     mmake || die
53     }